- Oct 04, 2008
-
-
Gerald Van Baren authored
Oops, screwed up the function name in the documenting comment for this function. Trivial correction in this patch. Signed-off-by:
David Gibson <david@gibson.dropbear.id.au> Acked-by:
Gerald Van Baren <vanbaren@cideas.com>
-
- Oct 02, 2008
-
-
David Gibson authored
Kumar has already added alias expansion to fdt_path_offset(). However, in some circumstances it may be convenient for the user of libfdt to explicitly get the string expansion of an alias. This patch adds a function to do this, fdt_get_alias(), and uses it to implement fdt_path_offset(). Signed-off-by:
David Gibson <david@gibson.dropbear.id.au>
-
Stefan Roese authored
Set force parameter in fdt_chosen() call in do_bootm_linux() call. Without this, the chosen node is not overwritten if it already exists. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Jon Loeliger authored
Using Gcc 4.3 detected this problem: ../dtc/libfdt/fdt.c: In function 'fdt_next_tag': ../dtc/libfdt/fdt.c:82: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false To fix the problem, treat the offset as an unsigned int. The problem report and proposed fix were provided by Steve Papacharalambous <stevep@freescale.com>. Signed-off-by:
Jon Loeliger <jdl@freescale.com>
-
David Gibson authored
The current implementation of fdt_get_path() has a couple of bugs, fixed by this patch. First, contrary to its documentation, on success it returns the length of the node's path, rather than 0. The testcase is correspondingly wrong, and the patch fixes this as well. Second, in some circumstances, it will return -FDT_ERR_BADOFFSET instead of -FDT_ERR_NOSPACE when given insufficient buffer space. Specifically this happens when there is insufficient space even to hold the path's second last component. This behaviour is corrected, and the testcase updated to check it. Signed-off-by:
David Gibson <david@gibson.dropbear.id.au>
-
- Sep 22, 2008
-
-
Stefan Roese authored
Depending on the configuration jumper "SATA SELECT", U-Boot disabled either one PCIe node or the SATA node in the device tree blob. This patch removes the unnecessary and even confusing warning, when the node is not found at all. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Remy Bohmer authored
Signed-off-by:
Remy Bohmer <linux@bohmer.net>
-
Wolfgang Denk authored
eventually leads to a machine check. This change assures that DPRAM is allocated only once in that case. Signed-off-by:
Gary Jennejohn <garyj@denx.de> Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Laurent Pinchart authored
A few Spartan-3 definitions erroneously use Spartan-3E size constants. This patch fixes them. Signed-off-by:
Laurent Pinchart <laurentp@cse-semaphore.com>
-
Laurent Pinchart authored
Signed-off-by:
Laurent Pinchart <laurentp@cse-semaphore.com> Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Anatolij Gustschin authored
Running mtest command on socrates without specifying an address range crashes the board. This patch changes default mtest address range to prevent this behavior. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Anatolij Gustschin authored
Currently U-Boot crashes after relocation to RAM. Changing the CPO value of the DDR SDRAM TIMING_CFG_2 register to READ_LAT + 1 (to the value it was before conversion of socrates to new DDR code) fixes the problem. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Anatolij Gustschin authored
Commit be0bd823 changed SPD EEPROM address to 0x51 and DDR SDRAM detection stopped working. Change this address back to 0x50. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
- Sep 21, 2008
-
- Sep 19, 2008
-
-
Nobuhiro Iwamatsu authored
Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Nobuhiro Iwamatsu authored
Add support watchdog for SH4A core (SH7763, SH7780 and SH7785). And fix some compile warning. Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Nobuhiro Iwamatsu authored
Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Nobuhiro Iwamatsu authored
Old U-Boot supported 4KB page size only. If this version, Linux kernel can not get command line from U-Boot. SH Linux kernel can change page size and empty_zero_page. This patch support this function and fix promlem. Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
Nobuhiro Iwamatsu authored
Add function of smc911x, pkt_data_pull and pkt_data_push. Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
- Sep 18, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Sep 17, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Sep 16, 2008
-
-
Peter Tyser authored
Fix TBI PHY accesses to use the proper offset in CPU register space. The previous code would incorrectly access the TBI PHY by reading/writing to CPU register space at the same location as would be used to access external PHYs. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com> Acked-by:
Andy Fleming <afleming@freescale.com>
-
Wolfgang Denk authored
After switching to using the CFI flash driver, the correct remapping of the flash banks was forgotten. Also, some boards were not adapted, and the old legacy flash driver was not removed yet. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Sep 13, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Peter Tyser authored
Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
u-boot@bugs.denx.de authored
This patch is an attempt to implement autoprobing for the Lime presence on the bus. Configure GPCM for Lime CS2 and try to access chip ID registers. Second read atempt delivers register values if the chip is present. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
u-boot@bugs.denx.de authored
Signed-off-by:
Detlev Zundel <dzu@denx.de>
-
Nobuhiro Iwamatsu authored
netdev.h was not include by r2dplus. Signed-off-by:
Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
-
Heiko Schocher authored
Commit 2a1a2cb6 didnt remove the dummy mem reservation in fdt_chosen, and this stopped Linux from booting with a Ramdisk. This patch fixes this, by deleting the useless dummy mem reservation. When booting with a Ramdisk, a fix offset FDT_RAMDISK_OVERHEAD is now added to of_size, so we dont need anymore a dummy mem reservation. I measured the value of FDT_RAMDISK_OVERHEAD on a MPC8270 based system (=0x44 bytes) and rounded it up to 0x80). Signed-off-by:
Heiko Schocher <hs@denx.de> Acked-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Sep 12, 2008
-
-
Luigi 'Comio' Mantellini authored
Signed-off-by:
Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Anton Vorontsov authored
This patch deletes oobavail assignments, they're calculated by the nand core code in nand_scan_tail, plus current oobavail values are wrong for the LP NANDs. Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by:
David Woodhouse <David.Woodhouse@intel.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Anton Vorontsov authored
This patch implements support for flash-based BBT for chips working through ELBC NAND controller, so that NAND core will not have to re-scan for bad blocks on every boot. Because ELBC controller may provide HW-generated ECCs we should adjust bbt pattern and bbt version positions in the OOB free area. Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by:
David Woodhouse <David.Woodhouse@intel.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Anton Vorontsov authored
For large page chips, nand_bbt is looking into OOB area, and checking for "0xff 0xff" pattern at OOB offset 0. That is, two bytes should be reserved for bbt means. But ELBC driver is specifying ecclayout so that oobfree area starts at offset 1, so only one byte left for the bbt purposes. This causes problems with any OOB users, namely JFFS2: after first mount JFFS2 will fill all OOBs with "erased marker", so OOBs will contain: OOB Data: ff 19 85 20 03 00 ff ff ff 00 00 08 ff ff ff ff OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff And on the next boot, NAND core will rescan for bad blocks, then will see "0xff 0x19" pattern, and will mark all blocks as bad ones. To fix the issue we should implement our own bad block pattern: just one byte at OOB start. Though, this will work only for x8 chips. For x16 chips two bytes must be checked. Since ELBC driver does not support x16 NANDs (yet), we're safe for now. Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by:
David Woodhouse <David.Woodhouse@intel.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Wolfgang Denk authored
-
Wolfgang Denk authored
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-