- Nov 21, 2009
-
- Nov 19, 2009
-
-
Matthias Fuchs authored
This patch shrinks the PMC440 u-boot binary (from next branch) to fit into 384kB again. Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Matthias Fuchs authored
This is not the sequoia board. Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
The latest changes in the u-boot/next branch increased the size of the alpr image a bit more. Now it doesn't fit into the 256k reserved for it. This patch now removes the commands "askenv" and "irq" which are not needed in the production systems. Signed-off-by:
Stefan Roese <sr@denx.de> Cc: Pieter Voorthuijsen <pieter.voorthuijsen@prodrive.nl>
-
Stefan Roese authored
This patch removes the duplicted implementations of the pci_master_init() function by introducing a weak default function for it. It can be overridden by a board specific version. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch removes the duplicted implementations of the pci_pre_init() function by introducing a weak default function for it. This weak default has a different implementation for some PPC variants. It can be overridden by a board specific version. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch removes the duplicted implementations of the pci_target_init() function by introducing a weak default function for it. This weak default has a different implementation for 440EP(x)/GR(x) PPC's. It can be overridden by a board specific version (e.g. PMC440, korat). Signed-off-by:
Stefan Roese <sr@denx.de> Acked-by:
Matthias Fuchs <matthias.fuchs@esd.eu>
-
- Nov 16, 2009
-
-
Add support to use second and third I2C bus, too. Bus 0 is still the default, but by calling i2c_set_bus_num(1/2) before doing I2C accesses, code can switch to bus 1 and 2, too. Don't forget to switch back afterwards, then. Signed-off-by:
Dirk Behme <dirk.behme@googlemail.com>
-
- Nov 15, 2009
-
-
Wolfgang Denk authored
-
- Nov 13, 2009
-
-
Amul Kumar Saha authored
Define and use CONFIG_ENV_ADDR_FLEX and CONFIG_ENV_SIZE_FLEX for storing environment variables. Signed-off-by:
Rohit Hagargundgi <h.rohit@samsung.com> Signed-off-by:
Amul Kumar Saha <amul.saha@samsung.com>
-
Amul Kumar Saha authored
This patch adds support for Flex-OneNAND devices. Signed-off-by:
Rohit Hagargundgi <h.rohit@samsung.com> Signed-off-by:
Amul Kumar Saha <amul.saha@samsung.com>
-
Mingkai Hu authored
The commit 66372fe2 manually relocated the bbt pattern pointer, which can be removed by using full relocation. Signed-off-by:
Mingkai Hu <Mingkai.hu@freescale.com>
-
Mingkai Hu authored
Take advantage of the latest full relocation commit of PPC platform for boot from NAND. Signed-off-by:
Mingkai Hu <Mingkai.hu@freescale.com> Acked-by:
Kumar Gala <galak@kernel.crashing.org>
-
David Brownell authored
The syndrome based page read/write routines store ECC, and possibly other "OOB" data, right after each chunk of ECC'd data. With ECC chunk size of 512 bytes and a large page (2KiB) NAND, the layout is: data-0 OOB-0 data-1 OOB-1 data-2 OOB-2 data-3 OOB-3 OOB-leftover Where OOBx is (prepad, ECC, postpad). However, the current "raw" routines use a traditional layout -- data OOB, disregarding the prepad and postpad values -- so when they're used with that type of ECC hardware, those calls mix up the data and OOB. Which means, in particular, that bad block tables won't be found on startup, with data corruption and related chaos ensuing. The current syndrome-based drivers in mainline all seem to use one chunk per page; presumably they haven't noticed such bugs. Fix this, by adding read/write page_raw_syndrome() routines as siblings of the existing non-raw routines; "raw" just means to bypass the ECC computations, not change data and OOB layout. Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
David Woodhouse <David.Woodhouse@intel.com>
-
Sandeep Paulraj authored
When computing oobavail from the list of free areas in the OOB, don't assume there will always be an unused slot at the end. This syncs up with the kernel NAND driver. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
The patch updates the check condition for determining whether the ECC corrections has failed. This makes it similar to what is in the kernel NAND driver. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
Patch updates the comments and explanations for the arguments to various functions. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
This was originally part of Thomas Gleixner's patch for adding support for 4KiB pages. This is not part of the U-Boot NAND driver so updating the driver with this to sync up with the kernel NAND driver. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
Patch removes already commented out dead code Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
This patch updates the "chip_shift" calculation in the NAND driver. This is being done to sync up the NAND driver with the kernel NAND driver. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Sandeep Paulraj authored
This patch adds support for NANDs greater than 2 GB. Patch is based on the MTD NAND driver in the kernel. Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Peter Tyser authored
Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
Peter Tyser authored
Also remove vague, unnecessary comment Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
Kumar Gala authored
We were incorrectly use the max CAM size as the number of entries in the array for setting up the addrmap. We should be using the NENTRY field which is the low 12-bits of TLB1CFG. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Mike Rapoport authored
Make smc911x_initialize return -1 on error and number of interfaces detected otherwise. Signed-off-by:
Mike Rapoport <mike@compulab.co.il> Acked-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Mike Frysinger authored
When the smc911x driver was converted to NET_MULTI, the smc911x eeprom was missed. The config option needed updating as well as overhauling of the rergister read/write functions. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Tested-by:
Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Nov 12, 2009
-
-
Dave Liu authored
commit 1542fbde introduced one new bug to chip-select interleaving. Single DDR controller also can do the chip-select interleaving if there is dual-rank or qual-rank DIMMs. Signed-off-by:
Dave Liu <daveliu@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Nov 11, 2009
-
-
javier Martin authored
Sometimes, inside NetLoop, eth_halt() is called before eth_init() has been called. This is harmless except for free() calls to pointers which have not been allocated yet. This patch initializes those pointers to NULL and allocates them only the first time. This way we can get rid of free calls in halt callback. This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains. Signed-off-by:
Javier Martin <javier.martin@vista-silicon.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
javier Martin authored
This patch fixes erroneous access to the ethernet PHY which broke the driver. 1. Selector field in the auto-negotiation register must be 0x00001 for using 802.3, not 0x00000 which is reseved. 2. Access to the PHY address specified by CONFIG_FEC_MXC_PHYADDR, not 0x0 fixed address. This has been tested in i.MX27 Litekit board and eldk-4.2 toolchains. Now using proper defines for auto-negotiation register. Signed-off-by:
Javier Martin <javier.martin@vista-silicon.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ron Lee authored
------------------------------------------------------------------------ GCC 4.4 complains about this now. Signed-off-by:
Ron Lee <ron@debian.org>
- Nov 10, 2009
-
-
Stefan Roese authored
This patch removes the Katmai "bootstrap" command and replaces it with the now common command "chip_config". Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
All currently available 4xx derivats have the I2C bootstrap EEPROM located on I2C bus number 0. This patch now first sets this bus number, so that the chip_config command also works for board with multiple I2C busses, like Katmai. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Matthias Fuchs authored
-add UBI support -increase malloc'able memory size -cleanup MONITOR|FLASH_BASE|LEN constants Signed-off-by:
Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Ben Warren authored
Both lpd7a400 and lpd7a404 failed to compile because they had CONFIG_SMC_USE_IOFUNCS defined: examples/standalone/smc91111_eeprom.c:388: undefined reference to `SMC_outw' Also removed an orphaned paren in lpd7a404.h Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
This patch fixes the following warnings: Configuring for xaeniax board... smc91111_eeprom.c: In function 'print_macaddr': smc91111_eeprom.c:278: warning: suggest parentheses around + or - in operand of & smc91111_eeprom.c:281: warning: suggest parentheses around + or - in operand of & ... Configuring for xsengine board... smc91111_eeprom.c: In function 'print_macaddr': smc91111_eeprom.c:278: warning: suggest parentheses around + or - inside shift smc91111_eeprom.c:281: warning: suggest parentheses around + or - inside shift Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-