- Aug 12, 2008
-
-
Ilya Yanok authored
Rather than scanning on boot, scan upon the first attempt to check the badness of a block. This speeds up boot when not using NAND, and reduces the likelihood of needing to reflash via JTAG if NAND becomes nonfunctional. Signed-off-by:
Ilya Yanok <yanok@emcraft.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Scott Wood authored
Implement block-skipping read/write, based on a patch from Morten Ebbell Hestens <morten.hestnes@tandberg.com>. Signed-off-by:
Morten Ebbell Hestnes <morten.hestnes@tandberg.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Scott Wood authored
Use of the non-skipping versions was almost always (if not always) an error, and no valid use case has been identified. Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Anton Vorontsov authored
Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Scott Wood authored
The hardware has separate registers for block and page-within-block, but the division between the two has no apparent relation to the actual erase block size of the NAND chip. Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Anton Vorontsov authored
Using current driver elbc sometimes hangs during nand write. Reading back last byte helps though (thanks to Scott Wood for the idea). Signed-off-by:
Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Scott Wood authored
This is a driver for the Flash Control Machine of the enhanched Local Bus Controller found on some Freescale chips (such as the mpc8313 and the mpc8379). Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Scott Wood authored
Some hardware, such as the enhanced local bus controller used on some mpc83xx chips, does ecc transparently when reading and writing data, rather than providing a generic calculate/correct mechanism that can be exported to the nand subsystem. The subsystem should not BUG() when calculate, correct, or hwctl are missing, if the methods that call them have been overridden. Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Stefan Roese authored
This patch turns off printing of bad blocks per default upon bootup. This can always be shown via the "nand bad" command later. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Sergey Kubushyn authored
Here comes a trivial patch to cpu/arm926ejs/davinci/nand.c. Unfortunately I don't have hardware handy so I can not test it at the moment but changes are rather trivial so it should work. It would be nice if somebody with a hardware checked it anyways. Signed-off-by:
Sergey Kubushyn <ksi@koi8.net>
-
Stefan Roese authored
Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch changes the NAND booting driver nand_spl/nand_boot.c to match the new infrastructure from the updated NAND subsystem. This NAND subsystem was recently synced again with the Linux 2.6.22 MTD/NAND subsystem. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch changes the 4xx NAND driver ndfc.c to match the new infrastructure from the updated NAND subsystem. This NAND subsystem was recently synced again with the Linux 2.6.22 MTD/NAND subsystem. Tested successfully on AMCC Sequoia and Bamboo. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch changes nand_wait_ready() to not just call nand_wait(), since this will send a new command to the NAND chip. We just want to wait for the chip to become ready here. Signed-off-by:
Stefan Roese <sr@denx.de>
-
William Juul authored
Signed-off-by:
William Juul <william.juul@tandberg.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
William Juul authored
Signed-off-by:
William Juul <william.juul@tandberg.com>
-
William Juul authored
Signed-off-by:
William Juul <william.juul@tandberg.com>
-
William Juul authored
Signed-off-by:
William Juul <william.juul@tandberg.com>
-
William Juul authored
To use YAFFS2 define CONFIG_YAFFS2 Signed-off-by:
William Juul <william.juul@tandberg.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
William Juul authored
Direct import of yaffs as a tarball as of 20071113 from their public CVS-web at http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2/ The code can also be imported on the command line with: export CVSROOT=:pserver:anonymous@cvs.aleph1.co.uk:/home/aleph1/cvs cvs logon (Hit return when asked for a password) cvs checkout yaffs2 Signed-off-by:
William Juul <william.juul@tandberg.com> Signed-off-by:
Stig Olsen <stig.olsen@tandberg.com>
-
William Juul authored
Changes requested by maintainer Stefan Roese after posting patch to U-boot mailing list. Signed-off-by:
William Juul <william.juul@tandberg.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
William Juul authored
- Fixing leading white spaces - Fixing indentation where 4 spaces are used instead of tab - Removing C++ comments (//), wherever I introduced them Signed-off-by:
William Juul <william.juul@tandberg.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
William Juul authored
Signed-off-by:
William Juul <william.juul@tandberg.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
William Juul authored
A lot changed in the Linux MTD code, since it was last ported from Linux to U-Boot. This patch takes U-Boot NAND support to the level of Linux 2.6.22.1 and will enable support for very large NAND devices (4KB pages) and ease the compatibility between U-Boot and Linux filesystems. This patch is tested on two custom boards with PPC and ARM processors running YAFFS in U-Boot and Linux using gcc-4.1.2 cross compilers. MAKEALL ppc/arm has some issues: * DOC/OneNand/nand_spl is not building (I have not tried porting these parts, and since I do not have any HW and I am not familiar with this code/HW I think its best left to someone else.) Except for the issues mentioned above, I have ported all drivers necessary to run MAKEALL ppc/arm without errors and warnings. Many drivers were trivial to port, but some were not so trivial. The following drivers must be examined carefully and maybe rewritten to some degree: cpu/ppc4xx/ndfc.c cpu/arm926ejs/davinci/nand.c board/delta/nand.c board/zylonite/nand.c Signed-off-by:
William Juul <william.juul@tandberg.com> Signed-off-by:
Stig Olsen <stig.olsen@tandberg.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Denk authored
-
- Aug 11, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Kumar Gala authored
Use CONFIG_NUM_CPUS to match existing define used by 86xx. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org> Acked-by:
Jon Loeliger <jdl@freescale.com>
-
Kumar Gala authored
The autostart revert caused a bit of duplicated code as well as code that was using images->autostart that needs to get removed so we can build again. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
When building the 8544DS board we get this error: In file included from r8a66597-hcd.c:22: u-boot/include/usb.h:190:2: error: #error USB Lowlevel not defined make[1]: *** [r8a66597-hcd.o] Error 1 The cleanest fix is to only build r8a66597-hcd.c if CONFIG_USB_R8A66597_HCD is set. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Becky Bruce authored
This is needed because we will be possibly be locating devices at physical addresses above 32bits, and the asm preprocessing does not appear to deal with ULL constants properly. We now call write_bat in lib_ppc/bat_rw.c. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com> Acked-by:
Jon Loeliger <jdl@freescale.com>
-
Becky Bruce authored
Perform sync/isync as required by the architecture. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com> Acked-by:
Jon Loeliger <jdl@freescale.com>
-
Becky Bruce authored
Signed-off-by:
Becky Bruce <becky.bruce@freescale.com> Acked-by:
Jon Loeliger <jdl@freescale.com>
-
Magnus Lilja authored
Correct the mx31_gpio_mux() function to allow changing all i.MX31 IOMUX contacts instead of only the first 256 ones as is the case prior to this patch. Add missing MUX_* macros and update board files to use the new macros. Signed-off-by:
Magnus Lilja <lilja.magnus@gmail.com>
-
Magnus Lilja authored
Correct the names of some IOMUX macros. Signed-off-by:
Magnus Lilja <lilja.magnus@gmail.com>
-
Steve Sakoman authored
The block and page parameters of onenand_verify_page() are not used. This causes a compiler error when CONFIG_MTD_ONENAND_VERIFY_WRITE is enabled. Signed-off-by:
Steve Sakoman <steve@sakoman.com> Signed-off-by:
Dirk Behme <dirk.behme@gmail.com>
-