summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-23Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk
2009-07-23Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk
2009-07-23Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk
2009-07-23Merge branch 'master' of git://git.denx.de/u-boot-i2cWolfgang Denk
2009-07-23Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk
2009-07-23Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk
2009-07-23Merge branch 'master' of /home/wd/git/u-boot/master/Wolfgang Denk
2009-07-23arm, kirkwood: added kw_gpio_set_valid() in gpio.hHeiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2009-07-23Kirkwood: add Marvell Kirkwood gpio driverDieter Kiermaier
Signed-off-by: Dieter Kiermaier <dk-arm-linux@gmx.de> Acked-by: Prafulla Wadaskar <prafulla@marvell.com> Tested-by: Heiko Schocher <hs@denx.de>
2009-07-23arm, kirkwood: added KW_TWSI_BASE in kirkwood.hHeiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2009-07-23Marvell RD6281A Board supportPrafulla Wadaskar
This is Marvell's 88F6281_A0 based reference design board This patch is tested for- 1. Boot from DRAM/NAND flash/NFS 2. File transfer using tftp and loadb 3. NAND flash read/write/erase Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-07-23api: Fix broken build on ARM.Piotr Ziecik
This patch fixes broken build introduced by commit 84bf7ca522e94ec402a1264b01971b924b7e268f (api: remove un-needed ifdef CONFIG_API already handle by the Makefile). Signed-off-by: Piotr Ziecik <kosmo@semihalf.com>
2009-07-22Fix "ld: cannot find -lstubs" build errorWolfgang Denk
Commit 1bc15386 moved the examples/ to examples/standalone but failed to adapt the Makefiles that need to link against libstubs.a Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-07-22at91cap9adk: fix #ifdef/#endif pairingWolfgang Denk
The #ifdef/#endif pairing in this file was obviously messed up. Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-07-22ARM Cortex A8: Move OMAP3 specific reset handlerMinkyu Kang
Because of the reset_cpu is soc specific, should be move to soc Cc: Dirk Behme <dirk.behme@googlemail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2009-07-2285xx/86xx: Replace in8/out8 with in_8/out_8 on FSL boardsKumar Gala
The pixis code used in8/out8 all over the place. Replace it with in_8/out_8 macros. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-22xpedite5370: Enable NAND command supportPeter Tyser
Use the MPC8572's eLBC to access 1 GB (or greater) onboard NAND flash via the 'nand' command. Previously, the XPedite5370's NAND chip selects were properly configured, but NAND support was not enabled. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-22xes: Increase CONFIG_SYS_BOOTM_LEN to 16MBPeter Tyser
Increasing CONFIG_SYS_BOOTM_LEN from 8 MB to 16 MB is necessary to support uncompressing images larger than 8 MB when using the bootm command. Note that recent Linux kernels for the 85xx and 86xx map greater than 16MB of memory on bootup, but we use 16MB to maintain compatibility with older Linux kernels for now. Signed-off-by: Nate Case <ncase@xes-inc.com> Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-22xpedite5370: Fix I2C GPIO initialization typoPeter Tyser
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Acked-by: Heiko Schocher<hs@denx.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-22xpedite5200,5370: Use buffered NOR flash writesPeter Tyser
Buffered writes are possible on the XPedite5200 and XPedite5370 and greatly improve NOR flash write speeds Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-2285xx, 86xx: Add common board_add_ram_info()Peter Tyser
Previously, 85xx and 86xx boards would display DRAM information on bootup such as: ... I2C: ready DRAM: Memory controller interleaving enabled: Bank interleaving! 2 GB FLASH: 256 MB ... This patch moves the printing of the DRAM controller configuration to a common board_add_ram_info() function which prints out DDR type, width, CAS latency, and ECC mode. It also makes the DDR interleaving information print out in a more sane manner: ... I2C: ready DRAM: 2 GB (DDR2, 64-bit, CL=4, ECC on) DDR Controller Interleaving Mode: bank FLASH: 256 MB ... Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-22tqm85xx: Remove board_add_ram_info()Peter Tyser
This is in preparation for adding one common 8xxx board_add_ram_info() function for all 8xxx boards Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-22xes: Remove 8xxx board_add_ram_info() functionPeter Tyser
This is in preparation for adding one common 8xxx board_add_ram_info() fuction for all 8xxx boards Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-2286xx: Rename ccsr_ddr's sdram_mode_1, sdram_cfg_1 fieldsPeter Tyser
Rename sdram_mode_1 to sdram_mode and sdram_cfg_1 to sdram_cfg to match the 86xx user's manual and other Freescale architectures Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-2285xx: Add pci/pcie E1000 ethernet support for MPC8544DS and MPC8536 boardsRoy Zang
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-2285xx: Report which "bank" of NOR flash we are booting from on FSL boardsKumar Gala
The p2020DS, MPC8536DS, MPC8572DS, MPC8544DS boards are capable of swizzling the upper address bits of the NOR flash we boot out of which creates the concept of "virtual" banks. This is useful in that we can flash a test of image of u-boot and reset to one of the virtual banks while still maintaining a working image in "bank 0". The PIXIS FPGA exposes registers on LBC which we can use to determine which "bank" we are booting out of (as well as setting which bank to boot out of). Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-2286xx: Report which "bank" of NOR flash we are booting from on MPC8641HPCNKumar Gala
The MPC8641HPCN board is capable of swizzling the upper address bit of the NOR flash we boot out of which creates the concept of "virtual" banks. This is useful in that we can flash a test of image of u-boot and reset to one of the virtual banks while still maintaining a working image in "bank 0". The PIXIS FPGA exposes registers on LBC which we can use to determine which "bank" we are booting out of (as well as setting which bank to boot out of). Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-22Refresh LZMA-lib to v4.65Luigi 'Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
2009-07-22AT91: factor out ROUND() macroWolfgang Denk
A large number of boards (all AT91 based) duplicated the ROUND() macro in their board specific config files. Add the definition to include/common.h and clean up the board config files. Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-07-2185xx: Bump up the BOOTMAP to 16M on FSL 85xx boardsKumar Gala
We have always mapped at least 16M in the kernel and we have seen cases with new kernel features that a kernel image needs more than 8M of memory. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-21Move api_examples to examples/apiPeter Tyser
Also add a rule to remove demo.bin which was previously leftover after a "make clean" Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-07-2183xx, kmeter: fix compile errorHeiko Schocher
CONFIG_SYS_MALLOC_LEN is defined in the board config, and the keymile-common.h, which collects common options used by all keymile-boards. This results in a compile error when compiling the kmeter1 board. So remove this define in the board config file. Signed-off-by: Heiko Schocher <hs@denx.de>
2009-07-21i2c, mpc83xx: add CONFIG_SYS_I2C_INIT_BOARD for fsl_i2cHeiko Schocher
This patch adds the possibility to call a board specific i2c bus reset routine for the fsl_i2c bus driver, and adds this option for the keymile kmeter1 board. The deblock sequence for this board is implemented and tested in the following way: CR = 0x20 (release SDA and SCL pin) CR = 0xa0 (start read) dummy read dummy read if 2. dummy read == 0x00 3. dummy read CR = 0x80 (SDA and SCL now 1 SR = 0x86) CR = 0x00 (Modul reset SR=0x81) CR = 0x80 (SDA and SCL = 1, SR = 0x81) Signed-off-by: Heiko Schocher <hs@denx.de>
2009-07-21Move examples/ to examples/standalonePeter Tyser
The current files in examples are all standalone application examples, so put them in their own subdirectory for organizational purposes Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-07-21Move architecture specific config.mk files into subdirsPeter Tyser
This cleans up U-Boot's toplevel directory a bit and makes the architecture 'config.mk' file naming and location similar to board and cpu 'config.mk' files Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-07-21Add "tags" to .gitignore file.Po-Yu Chuang
Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-07-21powerpc: updates for the keymile boardsHeiko Schocher
- CONFIG_SYS_MAX_I2C_BUS changed to 1 We use only one I2C hardwarecontroller on this boards, so change the CONFIG_SYS_MAX_I2C_BUS to 1. - common: dont print errormsg if second IVM Block lacks. - 82xx, mgcoge: fix double mtdpart entry in environment - 82xx, mgcoge: activate on second Flash the second bank. - common: CONFIG_ENV_SIZE 0x4000 for all keymile boards - common: Change malloc size to 1MByte for all Keymile boards We need a bigger malloc area for the environment support (128k) on some Keymile boards (kmeter1) and the upcoming UBI support. Change it to 1MB for all Keymile boards to be on the save side. Also define CONFIG_SYS_64BIT_VSPRINTF which is needed for UBI/UBIFS support. - Add UBI support to all Keymile boards - change manner of writing "/localbus/ranges" node instead of writting the complete "/localbus/ranges" node before booting Linux, only update the ranges entries which gets dynamical detected (size of flashes). This is needed, because keymile adds in the DTS "/localbus/ranges" node entries, which u-boot must not overwrite/delete. - kmeter, mgcoge: define 2 seperate regions needed for the Intel P30 chips The Intel P30 chip has 2 non-identical chips on one die, so we need to define 2 seperate regions that are scanned by physmap_of independantly. - kmeter1: Add MTD concat support to Keymile boards - 82xx, mgcoge: add "unlock=yes" to default environment - added CONFIG_MTD_DEVICE to get in sync with mainline code Signed-off-by: Heiko Schocher <hs@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
2009-07-20fsl_sata: Fix compiler warnings shown by gcc-4.4galak
Update fsl_sata to use common structures instead of casting back and forth between the fsl specific ones and the common ones (which are identical). fsl_sata.c: In function 'scan_sata': fsl_sata.c:550: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:549: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:548: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:545: note: initialized from here fsl_sata.c:592: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:590: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:588: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:586: warning: dereferencing pointer 'cfis' does break strict-aliasing rules fsl_sata.c:579: warning: dereferencing pointer 'cfis' does break strict-aliasing rules ... Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-07-20Add unaligned.h for armSimon Kagstrom
This patch adds unaligned.h for ARM (needed to build with LZO compression). The file is taken from the linux kernel, but includes u-boot headers instead. Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net> Acked-by: Stefan Roese <sr@denx.de>
2009-07-20Remove last remanants of unused CONFIG_I2C_CMD_TREEPeter Tyser
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-07-20ubi: help message correctionAndrzej Wolski
Fix incorrect information about size units and correct typo. Signed-off-by: Andrzej Wolski <awolski@poczta.fm> Signed-off-by: Stefan Roese <sr@denx.de>
2009-07-20Merge branch 'master' of git://git.denx.de/u-boot-i2cWolfgang Denk
2009-07-20Merge branch 'master' of git://git.denx.de/u-boot-ubiWolfgang Denk
2009-07-20Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk
2009-07-20Merge branch 'master' of git://git.denx.de/u-boot-mpc83xxWolfgang Denk
2009-07-20Remove last remanants of unused CONFIG_I2C_CMD_TREEPeter Tyser
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-07-20ubi: help message correctionAndrzej Wolski
Fix incorrect information about size units and correct typo. Signed-off-by: Andrzej Wolski <awolski@poczta.fm> Signed-off-by: Stefan Roese <sr@denx.de>
2009-07-19mmc: set bus width to 1 and clock to minimum early during initializationIlya Yanok
We need to switch back to 1-bit before initialization or SD 2.0 cards will fail to send SCR if we've switched to 4-bit already. Signed-off-by: Ilya Yanok <yanok@emcraft.com>
2009-07-19config.mk: Remove unused HPATHShinya Kuribayashi
This variable is not unused anywhere. Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
2009-07-19digsy mtc: Enable command line history.Grzegorz Bernacki
Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>