summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeLines
* Fix OneNAND build breakKyungmin Park2008-08-13-42/+21
| | | | | | | | | Since page size field is changed from oobblock to writesize. But OneNAND is not updated. - fix bufferram management at erase operation This patch includes the NAND/OneNAND state filed too. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot-at91Wolfgang Denk2008-08-12-0/+0
|\
| * at91: move arch-at91sam9 to arch-at91Jean-Christophe PLAGNIOL-VILLARD2008-08-12-0/+0
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | OneNAND: Fill in MTD function pointers for OneNAND.Fathi BOUDRA2008-08-12-1/+1
| | | | | | | | | | | | | | | | | | | | onenand_print_device_info(): - Now returns a string to be placed in mtd->name, rather than calling printf. - Remove verbose parameter as it becomes useless. Signed-off-by: Fathi Boudra <fabo@debian.org> Signed-off-by: Scott Wood <scottwood@freescale.com>
* | NAND boot: MPC8313ERDB supportScott Wood2008-08-12-16/+70
| | | | | | | | | | | | | | | | | | Note that with older board revisions, NAND boot may only work after a power-on reset, and not after a warm reset. I don't have a newer board to test on; if you have a board with a 33MHz crystal, please let me know if it works after a warm reset. Signed-off-by: Scott Wood <scottwood@freescale.com>
* | mpc8313erdb: Enable NAND in config.Scott Wood2008-08-12-0/+2
| | | | | | | | Signed-off-by: Scott Wood <scottwood@freescale.com>
* | NAND: Scan bad blocks lazily.Ilya Yanok2008-08-12-0/+2
| | | | | | | | | | | | | | | | | | | | 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>
* | NAND read/write fixScott Wood2008-08-12-3/+4
| | | | | | | | | | | | | | | | 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>
* | nand: fsl_upm: convert to updated MTD NAND infrastructureAnton Vorontsov2008-08-12-0/+3
| | | | | | | | | | Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* | Fixing coding style issuesWilliam Juul2008-08-12-6/+7
| | | | | | | | | | | | | | | | | | - 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>
* | Remove white space at end.William Juul2008-08-12-1/+1
| | | | | | | | | | Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* | Update MTD to that of Linux 2.6.22.1William Juul2008-08-12-420/+1488
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Coding style cleanup, update CHANGELOG, prepare releaseWolfgang Denk2008-08-12-14/+14
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* MVBC_P: fix compile problemWolfgang Denk2008-08-12-2/+2
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-armWolfgang Denk2008-08-12-9/+24
|\
| * i.MX31: Fix mx31_gpio_mux() function and MUX_-macros.Magnus Lilja2008-08-11-9/+24
| | | | | | | | | | | | | | | | | | | | 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>
| * i.MX31: Fix IOMUX related typosMagnus Lilja2008-08-11-2/+2
| | | | | | | | | | | | Correct the names of some IOMUX macros. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
* | POWERPC: 86xx - add missing CONFIG_HIGH_BATS to sbc8641d configBecky Bruce2008-08-11-0/+2
| | | | | | | | | | Signed-off-by: Becky Bruce <becky.bruce@freescale.com> Acked-by: Jon Loeliger <jdl@freescale.com>
* | Merge branch 'master' of /home/stefan/git/u-boot/u-bootStefan Roese2008-08-11-110/+679
|\ \
| * | Revert "[new uImage] Add autostart flag to bootm_headers structure"Wolfgang Denk2008-08-10-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f5614e7926863bf0225ec860d9b319741a9c4004. The commit was based on a misunderstanding of the (documented) meaning of the 'autostart' environment variable. It might cause boards to hang if 'autostart' was used, with the potential to brick them. Go back to the documented behaviour. Conflicts: common/cmd_bootm.c common/image.c include/image.h Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Merge branch 'master' of git://git.denx.de/u-boot-at91Wolfgang Denk2008-08-10-1/+1
| |\ \
| | * | DataFlash: AT45DB021 fix and AT45DB081 supportSergey Lapin2008-08-09-1/+1
| | |/ | | | | | | | | | | | | | | | | | | Fix for page size of AT45DB021. Also adding bigger AT45DB081 which comes with some newer boards. Signed-off-by: Sergey Lapin <slapin@ossfans.org>
| * | Merge branch 'master' of git://git.denx.de/u-boot-shWolfgang Denk2008-08-10-0/+9
| |\ \
| | * | sh: Update sh7763rdp configNobuhiro Iwamatsu2008-08-09-0/+9
| | |/ | | | | | | | | | | | | | | | Add sh_eth support to sh7763rdp. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
| * | Merge branch 'master' of git://git.denx.de/u-boot-usbWolfgang Denk2008-08-10-1/+1
| |\ \
| | * | usb: add support for R8A66597 usb controllerYoshihiro Shimoda2008-08-07-1/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | add support for Renesas R8A66597 usb controller. This patch supports USB Host mode. Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Markus Klotzbuecher <mk@denx.de>
| * | Merge branch 'master' of git://git.denx.de/u-boot-mpc512xWolfgang Denk2008-08-10-35/+221
| |\ \
| | * | mpc5121: Move iopin features from board specific to common files.Kenneth Johansson2008-08-05-33/+218
| | | | | | | | | | | | | | | | | | | | | | | | And in the process eliminate some duplicate register defines. Signed-off-by: Kenneth Johansson <kenneth@southpole.se>
| | * | mpc5121: squash some fdt fixup errorsJohn Rigby2008-08-05-2/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On ADS5121 when booting linux the following errors are seen: Unable to update property /soc5121@80000000:bus-frequency, err=FDT_ERR_NOTFOUND Unable to update property /soc5121@80000000/ethernet@2800:local-mac-address, err=FDT_ERR_NOTFOUND Unable to update property /soc5121@80000000/ethernet@2800:address, err=FDT_ERR_NOTFOUND This is caused by ft_cpu_setup trying to deal with both old and new soc node naming. This patch fixes this by being smarter about what to fixup. Also do soc node fixups by compatible instead of by path. A new board config called OF_SOC_COMPAT defined to be "fsl,mpc5121-immr" replaces the old OF_SOC node path that was defined to be "soc@80000000". Old device trees still work, but the compatiblity is conditional on CONFIG_OF_SUPPORT_OLD_DEVICE_TREES which is on by default in include/configs/ads5121.h. Signed-off-by: John Rigby <jrigby@freescale.com>
| * | TQM8xx{L,M}: try to normalize config files for TQM8xx? based boardWolfgang Denk2008-08-09-67/+440
| | | | | | | | | | | | | | | | | | | | | | | | | | | - enable CFI driver where this was forgotten - enable mtdparts support - adjust default environment etc. Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | TQM823L: re-enable logo support; update LCD_INFO textWolfgang Denk2008-08-08-0/+2
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | TQM8xxL: fix support for second flash bankWolfgang Denk2008-08-08-5/+5
| |/ | | | | | | | | | | | | | | When switching the TQM8xxL modules to use the CFI flash driver, support for the second flash bank was broken because the CFI driver did not support dynamically sized banks. This gets fixed now. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | ppc4xx: Sequoia has two UARTs in "4-pin" mode. Configure the GPIOs as per ↵Steven A. Falco2008-08-07-6/+6
|/ | | | | | | | | | | schematic. The Sequoia board has two UARTs in "4-pin" mode. This patch modifies the GPIO configuration to match the schematic, and also sets the SDR0_PFC1 register to select the corresponding mode for the UARTs. Signed-off-by: Steven A. Falco <sfalco@harris.com> Signed-off-by: Stefan Roese <sr@denx.de>
* Fix remaining build issues with MPC8xx FADS boards.Jean-Christophe PLAGNIOL-VILLARD2008-08-03-3/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* nios2: fix phys_addr_t and phys_size_t supportJean-Christophe PLAGNIOL-VILLARD2008-08-03-0/+3
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* mvbc_p: Fix problem with '#if (CONFIG_CMD_KGDB)'Jean-Christophe PLAGNIOL-VILLARD2008-08-03-2/+2
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix build issues with MPC8xx FADS boards.Wolfgang Denk2008-08-01-1/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix printf() format problems with configurable promptsWolfgang Denk2008-07-31-49/+73
| | | | | | | | | | | | | | | U-Boot allows for configurable prompt strings using the CONFIG_AUTOBOOT_PROMPT resp. CONFIG_MENUPROMPT definitions. So far, the assumption was that any such user defined problts would contain exactly one "%d" format specifier. But some boards did not. To allow for flexible boot prompts without adding too complex code we now allow to specify the whole list of printf() arguments in the user definition. This is powerful, but requires a responsible user who really understands what he is doing, as he needs to know for exanple which variables are available in the respective context. Signed-off-by: Wolfgang Denk <wd@denx.de>
* E1000: clean up CONFIG_E1000_FALLBACK_MAC handlingWolfgang Denk2008-07-31-1/+1
| | | | | | | Avoid "integer constant is too large for 'long' type" warnings. And simplify the code. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk2008-07-31-10/+9
|\
| * PPC: Add pci_clk in the global_data for CPM2 processorsMatvejchikov Ilya2008-07-31-0/+3
| | | | | | | | | | | | | | This patch adds pci_clk field to the global_data structure for the processors which have CPM2 module in case the CONFIG_PCI is defined. Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
| * Remove unused I2C at apollon boardKyungmin Park2008-07-31-8/+0
| | | | | | | | | | | | There are no I2C devices on this board. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
| * Merge branch 'master' of git://git.denx.de/u-boot-avr32Wolfgang Denk2008-07-31-2/+6
| |\
| | * Merge branch 'format-warnings' of git://git.denx.de/u-boot-avr32Haavard Skinnemoen2008-07-24-2/+4
| | |\
| | | * avr32: Fix printf() format warningsHaavard Skinnemoen2008-07-23-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | * | avr32: asm/io.h needs asm/types.hHaavard Skinnemoen2008-07-23-0/+2
| | |/ | | | | | | | | | | | | | | | | | | map_physmem() takes a phys_addr_t as parameter. This type is defined in asm/types.h, so we need to include that file. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
* | | at91rm9200dk, csb637: fix NAND related build problemsWolfgang Denk2008-07-31-17/+12
|/ / | | | | | | | | | | | | Tried fixing NAND support for the at91rm9200dk board; untested. Disabled NAND support in the csb637 board config file. Signed-off-by: Wolfgang Denk <wd@denx.de>
* | Adder8xx: Fix CFG_MONITOR_LENFrank Svendsbøe2008-07-30-1/+1
| | | | | | | | | | | | | | | | | | Due to increased space usage, U-Boot can no longer be stored in three sectors. The current U-Boot use just over three flash sectors (197k), and U-Boot will become corrupt after saving environment variables. This patch adds another 64k to CFG_MONITOR_LEN. Signed-off-by: Frank E. Svendsbøe <frank.svendsboe@gmail.com>
* | API: Teach the storage layer about SATA and MMC options.Rafal Jaworowski2008-07-30-0/+1
| | | | | | | | | | Signed-off-by: Rafal Czubak <rcz@semihalf.com> Acked-by: Rafal Jaworowski <raj@semihalf.com>
* | Fix remaining CFG_CMD_ define, ifdef and commentsJean-Christophe PLAGNIOL-VILLARD2008-07-30-3/+3
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>