summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* OMAP3: Beagle: Add board revision detectionDirk Behme2009-02-22-1/+45
| | | | | | | | | | | | | | | | | | With BeagleBoard revision C some HW changes are introduced (e.g. PinMUX) which might need different software handling. For this, GPIO pin 171 (GPIO module 6, offset 11) can be used to check for board revision. If this pin is low, we have a rev C board. Else it must be a revision Ax or Bx board. To handle board differences you can call function beagle_get_revision(). E.g.: if (beagle_get_revision()) { /* do special revision C stuff here */ } Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
* OMAP3: Overo: Clean up pin mux and GPIO configurationDirk Behme2009-02-22-21/+11
| | | | | | | | | | | | * Make Overo GPIO114 an input for touchscreen PENDOWN * Make Overo GPIO144-147 readable * Make Overo EHCI pinmux match beagle rev c setup * Adjust pinmux for SMSC911X network chip support * Remove unnecessary GPIO setup * Fix merge error in Makefile Signed-off-by: Steve Sakoman <sakoman@gmail.com> Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
* nmdk8815: fix onenand supportJean-Christophe PLAGNIOL-VILLARD2009-02-22-3/+2
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* nomadik/nand: fix 'ecc512' discards qualifiers from pointer target typeJean-Christophe PLAGNIOL-VILLARD2009-02-22-1/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* davinci: fix implicit declaration of function 'davinci_errata_workarounds'Jean-Christophe PLAGNIOL-VILLARD2009-02-22-0/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* arm: add uart dcc supportJean-Christophe PLAGNIOL-VILLARD2009-02-22-0/+236
| | | | | | | | | | Serial driver via the EmbeddedICE macrocell's DCC channel using co-processor 14. It does include a timeout to ensure that the system does not totally freeze when there is nothing connected to read. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* ARM DaVinci: Add common peripherals and modules enable functions.Hugo Villeneuve2009-02-22-105/+101
| | | | | | | | | | Taken all the duplicated code for enabling common modules and apply software workarounds from the board specific code into common functions. Also added comments explaining the workarounds (from TI errata documents) and replaced some numerical bit numbers with more meaningful defines. Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
* Enable Ethernet for Nomadik 8815 Evaluation KitAlessandro Rubini2009-02-22-1/+7
| | | | | | | | This trivially enables Ethernet support in the debug board by setting up the proper chip select. Signed-off-by: Alessandro Rubini <rubini@unipv.it> Acked-by: Andrea Gallo <andrea.gallo@stnwireless.com>
* Nand driver for Nomadik SoCAlessandro Rubini2009-02-22-10/+230
| | | | | | | | | | This driver implements the ECC algorithm described in the CPU data sheet and uses the OOB layout chosen in already-released development systems (shipped with a custom-made u-boot 1.3.1). Signed-off-by: Alessandro Rubini <rubini@unipv.it> Acked-by: Andrea Gallo <andrea.gallo@stnwireless.com>
* Added nomadik.h headerAlessandro Rubini2009-02-22-22/+41
| | | | | Signed-off-by: Alessandro Rubini <rubini@unipv.it> Acked-by: Andrea Gallo <andrea.gallo@stnwireless.com>
* Coding Style cleanup; update CHANGELOGWolfgang Denk2009-02-22-5/+370
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Makefile: fix cleanupWolfgang Denk2009-02-22-1/+1
| | | | | | | Commit e4943ec5 moved the ARM boards to a vendor directory but forgot to adapt the cleanup rules in the Makefile Signed-off-by: Wolfgang Denk <wd@denx.de>
* Cleanup the comment for m68k linux boot argument passing.Richard Retanubun2009-02-21-5/+6
| | | | | | | | | | This patch clarifies the way m68k passes linux boot argument. The one gotcha here is that the assembly instruction that the compiler uses to jump to the kernel is 'jsr' which pushes the program counter for the instruction after the jsr into the stack pointer. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
* sh: Fix rsk7203 in tree buildPeter Griffin2009-02-21-1/+1
| | | | Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
* bootm: Reduce the unnecessary memmoveMinkyu Kang2009-02-21-2/+4
| | | | | | | | | | Although load address and image start address are same address, bootm command always does memmove. That is unnecessary memmove and can be taken few milliseconds (about 500 msec to 1000 msec). If skip this memmove, we can reduce the boot time. Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
* fpga: Fix Spartan III FPGA bootingMatthias Fuchs2009-02-21-15/+7
| | | | | | | | | | | | This patch does some minor fixing of the Xilinx Spartan III FPGA boot code: - Fixed call order of post configuration callback and success message printing (result of copy-paste?) - remove obsolete comment - minor coding style cleanup Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* fpga: Fix Spartan II FPGA bootingMatthias Fuchs2009-02-21-21/+11
| | | | | | | | | | | | | | This patch does some minor fixing of the Xilinx Spartan II FPGA boot code: - Fixed call order of post configuration callback and success message printing (result of copy-paste?) - relocate post configuration callback only when it is implemented - remove obsolete comment - minor coding style cleanup Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* drivers/serial/ns16550: move ifdef into Makefile COBJS-$(...)Mike Frysinger2009-02-21-11/+3
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* lcd_putc bug fix for tab.Derek Ou2009-02-21-1/+1
| | | | Signed-off-by: Derek Ou <dou@siconix.com>
* MIPS: cpu/mips/Makefile: Add a missing START lineShinya Kuribayashi2009-02-21-0/+1
| | | | | | | | In the commit 79b51ff8205f0354d5300570614c1d2db499679c ([MIPS] cpu/mips/ Makefile: Split [CS]OBJS onto separate lines), I wrongly deleted a START line. This patch puts it back. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
* Enable ext2 support for TQM8xxL/M based boardsWolfgang Denk2009-02-21-0/+13
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ARM:PXA Use new definitions in mmc.hTom Rix2009-02-20-1/+1
| | | | | Signed-off-by: Tom Rix <Tom.Rix@windriver.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Reduce the scope of PXA's mmc_read/mmc_write/mmc_bread functionsAndy Fleming2009-02-20-4/+4
| | | | | | | | These names are being taken over by the new MMC framework. Hopefuly the PXA can be easily ported, and these functions will go away entirely. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* pxa: move mmc drivers to drivers/mmcJean-Christophe PLAGNIOL-VILLARD2009-02-20-16/+38
| | | | | | introduce new macro CONFIG_PXA_MMC to activate it Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* ARM:PXA Remove redefinition of mmc_cid and mmc_csd.Tom Rix2009-02-20-51/+0
| | | | | | These structures are defined in the common mmc.h This was compile checked on cerf250.
* pxa: fixing get_timer to return time in miliseconds.Micha Kalfon2009-02-20-25/+33
| | | | | | | | Fixing the get_timer function to return time in miliseconds instead of ticks. Also fixed PXA boards to use the conventional value of 1000 for CONFIG_SYS_HZ. Signed-off-by: Micha Kalfon <smichak.uv@gmail.com>
* ARM:OMAP3 Change mmc_init to mmc_legacy_initTom Rix2009-02-19-15/+2
| | | | | | | | | | omap3_mmc.c was changed to define mmc_legacy_init. Remove unused functions. Compile tested on all arm Runtime tested on Zoom1. Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
* 82xx, mgcoge: updates for 2009.03Heiko Schocher2009-02-19-4/+35
| | | | | | | | | | | | | | | - activate CS4 for accessing the FPGA - activate Rx buf len > 1 on SMC - pram activated - MTDPARTS_DEFAULT defined - update the size of the flashes in the DTS before booting Linux - MONITOR_LEN updated to 384k - added CONFIG_HOSTNAME - added CONFIG_ENV_BUFFER_PRINT - Environment size reduced to 16k Signed-off-by: Heiko Schocher <hs@denx.de>
* 8xx, mgsuvd: updates for 2009.03Heiko Schocher2009-02-19-3/+20
| | | | | | | | | | | | | | - activate Rx buf len > 1 on SMC - pram activated - MTDPARTS_DEFAULT defined - update the size of the flash in the DTS before booting Linux - MONITOR_LEN updated to 384k - added CONFIG_HOSTNAME - added CONFIG_ENV_BUFFER_PRINT - Environment size reduced to 16k Signed-off-by: Heiko Schocher <hs@denx.de>
* MMC: Don't use new framework code if not enabledDirk Behme2009-02-19-1/+2
| | | | | | | Don't use code of new MMC framework in cmd_mmc if CONFIG_GENERIC_MMC isn't enabled. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
* TQM8xxL: make some room in low memory for future needsWolfgang Denk2009-02-19-1/+0
| | | | | | | | | THe TQM8xxL use a ahnd-optimized linker script to efficiently use the small boot sectors in the flash. This patch makes some room in the first sector to prepare for a size increase of lib_generic/vsprintf.o by a future patch. Signed-off-by: Wolfgang Denk <wd@denx.de>
* README: remove duplicate entryKim Phillips2009-02-19-4/+0
| | | | | | | it's been around since the original commit (2ad6b513) that added two identical entries. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk2009-02-19-247/+195
|\
| * ppc4xx: PCIe: Change 16GB inbound memory to 4GBStefan Roese2009-02-18-2/+2
| | | | | | | | | | | | | | This patch fixes a problem recently seen on some 4xx platforms. For example on Kilauea PCIe slot #0. Signed-off-by: Stefan Roese <sr@denx.de>
| * ppc4xx: Some more PMC405 coding-style cleanupStefan Roese2009-02-18-15/+15
| | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * ppc4xx: Update PMC405 board supportMatthias Fuchs2009-02-18-42/+40
| | | | | | | | | | | | | | | | This patch prepares the good old PMC405 board support for upcoming PMC405V2 patches. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
| * ppc4xx: Cleanup PMC405 board supportMatthias Fuchs2009-02-18-215/+165
| | | | | | | | | | | | | | | | This patch fixes coding style for PMC405 board support. Also some unneeded features/code is removed. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
* | Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk2009-02-19-7/+1300
|\ \
| * | qong: changes to Dave/DENX Qong configurationIlya Yanok2009-02-18-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Changes to the default environment: - "bootcmd" defined as "run flash_self" - "saveenv" command removed from "update" - "uboot" changed to "u-boot" (also in "load") - "addmtd" variable defined (and added to all boot commands) 2. CONFIG_CMD_JFFS2 defined to enable "mtdparts" command 3. MTDIDS_DEFAULT and MTDPARTS_DEFAULT defined 4. CONFIG_SYS_CBSIZE changed from 256 to 512. That solves the problem with truncated "bootargs" environment variable. Signed-off-by: Ilya Yanok <yanok@emcraft.com>
| * | qong: support for Dave/DENX QongEVB-LITE boardIlya Yanok2009-02-10-0/+716
| | | | | | | | | | | | | | | | | | | | | This patch adds support for Dave/DENX QongEVB-LITE i.MX31-based board. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | dnet: driver for Dave DNET ethernet controllerIlya Yanok2009-02-10-0/+564
| | | | | | | | | | | | | | | | | | | | | | | | Driver for Dave DNET ethernet controller (used on Dave/DENX QongEVB-LITE board). Signed-off-by: Ilya Yanok <yanok@emcraft.com> Acked-by: Ben Warren <biggerbadderben@gmail.com>
| * | mx31: add GPIO registers definitionsIlya Yanok2009-02-07-0/+10
| | | | | | | | | | | | | | | | | | Added definitions for i.MX31 processor GPIO registers. Signed-off-by: Ilya Yanok <yanok@emcraft.com>
| * | ARM:OMAP3:Zoom1: Add nand unlock optionNishanth Menon2009-02-06-0/+1
| | | | | | | | | | | | | | | | | | | | | Enable NAND_UNLOCK option for unlocking nand for erase/write operations Signed-off-by: Nishanth Menon <nm@ti.com>
| * | ARM: remove unused variableGuennadi Liakhovetski2009-02-06-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | The "size" variable in start_armboot() in lib_arm/board.c is only really used in "#ifndef CONFIG_SYS_NO_FLASH" case, and even there it can be eliminated (thanks to Jean-Christophe PLAGNIOL-VILLARD for a suggestion.) Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* | | Coding style cleanup, update CHANGELOGWolfgang Denk2009-02-19-2/+789
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | | sata_sil3114: fix compiler warningKim Phillips2009-02-19-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | judging from other printfs in the same file, it seems ata should be postpended with the interface number, not the address of the global port variable. Fixes this for current u-boot-mpc83xx tree: Configuring for MPC8349ITX board... sata_sil3114.c: In function 'sata_bus_softreset': sata_sil3114.c:99: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'struct sata_port *' sata_sil3114.c:108: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'struct sata_port *' Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | | Create configuration option for restricted ns16550 functionsRon Madrid2009-02-19-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will create a configuration option for a minimum configuration for the ns16550 serial driver at drivers/serial/ns16550.c and will apply this new configuration option to the SIMPC8313.h config file in order to fix the NAND bootstrap build error. This option will exclude all functions with exception of NS16550_putc and NS16550_init. This will be used primarily to save space and remove unused code from builds in which space is limited. Signed-off-by: Ron Madrid <ron_madrid@sbcglobal.net>
* | | mkconfig: include board config.h before asm/config.hKim Phillips2009-02-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | swapping the include order suppresses warnings for board configs that define their own CONFIG_MAX_MEM_MAPPED: In file included from /home/r1aaha/git/u-boot/include/config.h:5, from /home/r1aaha/git/u-boot/include/common.h:35, from simpc8313.c:26: /home/r1aaha/git/u-boot/include/configs/SIMPC8313.h:81:1: warning: "CONFIG_MAX_MEM_MAPPED" redefined In file included from /home/r1aaha/git/u-boot/include/config.h:4, from /home/r1aaha/git/u-boot/include/common.h:35, from simpc8313.c:26: /home/r1aaha/git/u-boot/include/asm/config.h:28:1: warning: this is the location of the previous definition Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | | Fix build errors after making flash_get_info() non-staticWolfgang Denk2009-02-18-4/+3
| |/ |/| | | | | | | | | | | Fix for these build problems: error: static declaration of 'flash_get_info' follows non-static declaration Signed-off-by: Wolfgang Denk <wd@denx.de>
* | common/console: avoid ifdef CONFIG_CONSOLE_MUX when it's possibleJean-Christophe PLAGNIOL-VILLARD2009-02-18-52/+56
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>