summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2008-08-12Fixing coding style issuesWilliam Juul
- 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>
2008-08-12Remove white space at end.William Juul
Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
2008-08-12Update MTD to that of Linux 2.6.22.1William Juul
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>
2008-08-12Coding style cleanup, update CHANGELOG, prepare releaseWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-08-12MVBC_P: fix compile problemWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-08-12Merge branch 'master' of git://www.denx.de/git/u-boot-armWolfgang Denk
2008-08-11POWERPC: 86xx - add missing CONFIG_HIGH_BATS to sbc8641d configBecky Bruce
Signed-off-by: Becky Bruce <becky.bruce@freescale.com> Acked-by: Jon Loeliger <jdl@freescale.com>
2008-08-11i.MX31: Fix mx31_gpio_mux() function and MUX_-macros.Magnus Lilja
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>
2008-08-11i.MX31: Fix IOMUX related typosMagnus Lilja
Correct the names of some IOMUX macros. Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
2008-08-11Merge branch 'master' of /home/stefan/git/u-boot/u-bootStefan Roese
2008-08-10Revert "[new uImage] Add autostart flag to bootm_headers structure"Wolfgang Denk
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>
2008-08-10Merge branch 'master' of git://git.denx.de/u-boot-at91Wolfgang Denk
2008-08-10Merge branch 'master' of git://git.denx.de/u-boot-shWolfgang Denk
2008-08-10Merge branch 'master' of git://git.denx.de/u-boot-usbWolfgang Denk
2008-08-10Merge branch 'master' of git://git.denx.de/u-boot-mpc512xWolfgang Denk
2008-08-09TQM8xx{L,M}: try to normalize config files for TQM8xx? based boardWolfgang Denk
- enable CFI driver where this was forgotten - enable mtdparts support - adjust default environment etc. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-08-09DataFlash: AT45DB021 fix and AT45DB081 supportSergey Lapin
Fix for page size of AT45DB021. Also adding bigger AT45DB081 which comes with some newer boards. Signed-off-by: Sergey Lapin <slapin@ossfans.org>
2008-08-09sh: Update sh7763rdp configNobuhiro Iwamatsu
Add sh_eth support to sh7763rdp. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
2008-08-08TQM823L: re-enable logo support; update LCD_INFO textWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-08-08TQM8xxL: fix support for second flash bankWolfgang Denk
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>
2008-08-07usb: add support for R8A66597 usb controllerYoshihiro Shimoda
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>
2008-08-07ppc4xx: Sequoia has two UARTs in "4-pin" mode. Configure the GPIOs as per ↵Steven A. Falco
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>
2008-08-05mpc5121: Move iopin features from board specific to common files.Kenneth Johansson
And in the process eliminate some duplicate register defines. Signed-off-by: Kenneth Johansson <kenneth@southpole.se>
2008-08-05mpc5121: squash some fdt fixup errorsJohn Rigby
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>
2008-08-03Fix remaining build issues with MPC8xx FADS boards.Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-08-03nios2: fix phys_addr_t and phys_size_t supportJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-08-03mvbc_p: Fix problem with '#if (CONFIG_CMD_KGDB)'Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-08-01Fix build issues with MPC8xx FADS boards.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-07-31Fix printf() format problems with configurable promptsWolfgang Denk
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>
2008-07-31E1000: clean up CONFIG_E1000_FALLBACK_MAC handlingWolfgang Denk
Avoid "integer constant is too large for 'long' type" warnings. And simplify the code. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-07-31Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/masterWolfgang Denk
2008-07-31PPC: Add pci_clk in the global_data for CPM2 processorsMatvejchikov Ilya
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>
2008-07-31Remove unused I2C at apollon boardKyungmin Park
There are no I2C devices on this board. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2008-07-31at91rm9200dk, csb637: fix NAND related build problemsWolfgang Denk
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>
2008-07-31Merge branch 'master' of git://git.denx.de/u-boot-avr32Wolfgang Denk
2008-07-30Adder8xx: Fix CFG_MONITOR_LENFrank Svendsbøe
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>
2008-07-30API: Teach the storage layer about SATA and MMC options.Rafal Jaworowski
Signed-off-by: Rafal Czubak <rcz@semihalf.com> Acked-by: Rafal Jaworowski <raj@semihalf.com>
2008-07-30Fix remaining CFG_CMD_ define, ifdef and commentsJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-07-30Add include for config.h in command.h.Stefano Babic
Because the cmd_tbl_s structure depends on the configuration file, it must be assured that config.h is included before the structure is evaluated by the compiler. If this is not certain, it could happen that the compiler generates structures of different size, depending on the fact if the source file includes <config.h> before or after <command.h>. The effect is that u-boot crashes when tries to relocate the command table (for ppc) or try to access to the command table for other architectures. The problem can happen on board-depending commands. All general commands under /common are unaffected, because they include already config.h before command.h. Signed-off-by: Stefano Babic <sbabic@denx.de>
2008-07-30Removed support for the adsvix board.Adrian Filipi
Support for the adsvix was originally provided by Applied Data Systems (ADS), inc., now EuroTech, Inc. The board never shipped aside from some sample boards. Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
2008-07-24Merge branch 'format-warnings' of git://git.denx.de/u-boot-avr32Haavard Skinnemoen
2008-07-23avr32: Fix printf() format warningsHaavard Skinnemoen
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
2008-07-23avr32: asm/io.h needs asm/types.hHaavard Skinnemoen
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>
2008-07-2083xx/85xx/86xx: Add LTEDR local bus definitionsDetlev Zundel
Signed-off-by: Detlev Zundel <dzu@denx.de>
2008-07-18ppc4xx: Enable 64bit printf format on 440/460 platformsStefan Roese
This patch defines CFG_64BIT_VSPRINTF and CFG_64BIT_STRTOUL for all 440/460 platforms. This may be needed since those platforms support 36bit physical address space. Signed-off-by: Stefan Roese <sr@denx.de>
2008-07-15Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxxWolfgang Denk
2008-07-15Merge branch 'master' of git://git.denx.de/u-boot-mpc86xxWolfgang Denk
2008-07-15Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk
2008-07-15mpc5xxx: Add MVBC_P board supportAndre Schwarz
The MVBC_P is a MPC5200B based camera system with Intel Gigabit ethernet controller (using e1000) and custom Altera Cyclone-II FPGA on PCI. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2008-07-15Update Freescale sys_eeprom.c to handle CCID formatsTimur Tabi
Update the sys_eeprom.c file to handle both NXID and CCID EEPROM formats. The NXID format replaces the older CCID format, but it's important to support both since most boards out there still use the CCID format. This change is in preparation for using one file to handle both formats. This will also unify EEPROM support for all Freescale 85xx and 86xx boards. Also update the 86xx board header files to use the standard CFG_I2C_EEPROM_ADDR instead of ID_EEPROM_ADDR. Signed-off-by: Timur Tabi <timur@freescale.com>