summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-07-10Fix some more print() format errors.Wolfgang Denk7-14/+14
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-07-10Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk14-91/+133
2008-07-10MTD/NAND: Fix printf format warning in nand codeStefan Roese3-10/+10
This patch fixes NAND related printf format warning. Those warnings are now visible since patch dc4b0b38d4aadf08826f6c31270f1eecd27964fd [Fix printf errors.] by Andrew Klossner has been applied. Thanks, this is really helpful. Signed-off-by: Stefan Roese <sr@denx.de>
2008-07-10rtc: Fix printf format warning in m41t60.cStefan Roese1-1/+1
Signed-off-by: Stefan Roese <sr@denx.de>
2008-07-10pci: Move PCI device configuration check into a separate weak functionStefan Roese1-24/+46
This patch moves the check, if a device should be skipped in PCI PNP configuration into the function pci_skip_dev(). This function is defined as weak so that it can be overwritten by a platform specific one if needed. The check if the device should get printed in the PCI summary upon bootup (when CONFIG_PCI_SCAN_SHOW is defined) is moved to the function pci_print_dev() which is also defined as weak too. Signed-off-by: Stefan Roese <sr@denx.de>
2008-07-10ppc4xx: Fix printf format warnings now visible with the updated format checkStefan Roese9-31/+31
This patch fixes ppc4xx related printf format warning. Those warnings are now visible since patch dc4b0b38d4aadf08826f6c31270f1eecd27964fd [Fix printf errors.] by Andrew Klossner has been applied. Thanks, this is really helpful. Signed-off-by: Stefan Roese <sr@denx.de>
2008-07-10ppc4xx: Enable support for > 2GB SDRAM on AMCC KatmaiStefan Roese3-13/+54
Newer PPC's like 440SPe, 460EX/GT can be equipped with more than 2GB of SDRAM. To support such configurations, we "only" map the first 2GB via the TLB's. We need some free virtual address space for the remaining peripherals like, SoC devices, FLASH etc. Note that ECC is currently not supported on configurations with more than 2GB SDRAM. This is because we only map the first 2GB on such systems, and therefore the ECC parity byte of the remaining area can't be written. Signed-off-by: Stefan Roese <sr@denx.de>
2008-07-10ppc4xx: Remove implementation of testdram() from Korat board supportLarry Johnson2-39/+0
Signed-off-by: Larry Johnson <lrj@acm.org> Signed-off-by: Stefan Roese <sr@denx.de>
2008-07-10ppc4xx: Update and add FDT to Korat board supportLarry Johnson2-5/+47
Signed-off-by: Larry Johnson <lrj@acm.org> Signed-off-by: Stefan Roese <sr@denx.de>
2008-07-10Merge branch 'master' of /home/stefan/git/u-boot/u-bootStefan Roese93-870/+2785
2008-07-10Minor coding style cleanup; update CHANGELOGWolfgang Denk2-2/+698
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-07-10Merge branch 'master' of git://www.denx.de/git/u-boot-nand-flashWolfgang Denk8-95/+140
2008-07-10e1000: add support for 82545GM 64bit PCI-X copper variantPaul Gortmaker3-1/+5
This PCI-X e1000 variant works by just adding in the correct PCI IDs in the appropriate places. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2008-07-10SPARC: Build error fixDaniel Hellstrom2-1/+3
(introduced by commit 391fd93ab23e15ab3dd58a54f5b609024009c378) This patch makes SPARC targets build again. It is caused by phys_addr_t and phys_size_t being defined in the wrong header file. include/lmb.h need those typedefs to build. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2008-07-10Many spelling fixes in README.Marcel Ziswiler1-70/+71
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
2008-07-10Minor spelling fix in comment.Marcel Ziswiler1-1/+1
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
2008-07-10Round the serial port clock divisor value returned by calc_divisor()Hugo Villeneuve1-1/+6
Round the serial port clock divisor value returned by calc_divisor(). Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com> Signed-off-by: John Roberts <john.roberts@pwav.com>
2008-07-09NAND: ifdef-protect most of nand.h when using legacy NAND.Scott Wood1-1/+4
Some macros such as NAND_CTL_SETALE conflict between current and legacy NAND, being defined by the subsystem in the former case and the board config file in the latter. Signed-off-by: Scott Wood <scottwood@freescale.com>
2008-07-10ARM: Fix for wrong patch version applied for Lyrtech SFF-SDR board (ARM926EJS)Hugo Villeneuve6-267/+342
ARM: Fix for incorrect version of patch applied when adding support for the Lyrtech SFF-SDR board. Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com> Signed-off-by: Philip Balister, OpenSDR <philip@opensdr.com>
2008-07-10Remove useless print message at apollonKyungmin Park1-6/+2
Remove useless print message at apollon Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2008-07-10Fix LMB type issuesAndy Fleming3-5/+6
The LMB code now uses phys_addr_t and phys_size_t. Also, there were a couple of casting problems in the bootm code that called the LMB functions. Signed-off-by: Andy Fleming <afleming@freescale.com>
2008-07-10Fix compiler warningsKumar Gala1-2/+2
gcc-4.3.x generates the following: bootm.c: In function 'do_bootm_linux': bootm.c:208: warning: cast from pointer to integer of different size bootm.c:215: warning: cast from pointer to integer of different size Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-07-10Remove code duplication for setting the default environmentHarald Welte3-29/+22
common/env_common.c (default_env): new function that resets the environment to the default value common/env_common.c (env_relocate): use default_env instead of own copy common/env_nand.c (env_relocate_spec): use default_env instead of own copy include/environment.h: added default_env prototype Signed-off-by: Werner Almesberger <werner@openmoko.org> Signed-off-by: Harald Welte <laforge@openmoko.org>
2008-07-09NAND: Fix warning due to missing env_ptr casts to u_char * in env_nand.c.Marcel Ziswiler1-4/+4
The writeenv() and readenv() calls introduced by the recently added bad block management for environment variables were missing casts therefore producing compile time warnings. While at it fixing some typo in a comment and indentation. Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
2008-07-09NAND: Rename DEBUG to MTDDEBUG to avoid namespace pollution.Scott Wood6-90/+132
This is particularly problematic now that non-NAND-specific code is including <nand.h>, and thus all debugging code is being compiled regardless of whether it was requested, as reported by Scott McNutt <smcnutt@psyent.com>. Signed-off-by: Scott Wood <scottwood@freescale.com>
2008-07-10mmc: Move atmel_mci driver into drivers/mmcHaavard Skinnemoen4-1/+2
This makes it easier to use the driver on other platforms. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Acked-by: Jean-Chritophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-07-10avr32: Use CONFIG_ATMEL_MCI to select the atmel_mci driverHaavard Skinnemoen6-1/+6
After we move the atmel_mci driver into drivers/mmc, we can't select it with CONFIG_MMC anymore. Introduce a new symbol specifically for this driver so that there's no ambiguity. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Acked-by: Jean-Chritophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-07-10Create drivers/mmc subdirectoryHaavard Skinnemoen2-0/+46
In order to consolidate more of the various MMC drivers around the tree, we must first have a common place to put them. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Acked-by: Jean-Chritophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-07-09Change env_get_char from a global function ptr to a functionJoakim Tjernlund2-8/+15
This avoids an early global data reference. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
2008-07-09Some copy-n-paste fixes in printf usageMatvejchikov Ilya4-9/+9
Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
2008-07-09FDT memory and pci node fixes for MPC8260ADSMatvejchikov Ilya3-0/+46
Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
2008-07-09Fix printf errors.Andrew Klossner6-19/+24
The compiler will help find mismatches between printf formats and arguments if you let it. This patch adds the necessary attributes to declarations in include/common.h, then begins to correct the resulting compiler warnings. Some of these were bugs, e.g., "$d" instead of "%d" and incorrect arguments. Others were just annoying, like int-long mismatches on a system where both are 32 bits. It's worth fixing the annoying errors to catch the real ones. Signed-off-by: Andrew Klossner <andrew@cesa.opbu.xerox.com>
2008-07-09Merge branch 'master' of git://www.denx.de/git/u-boot-mipsWolfgang Denk1-0/+11
2008-07-09Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flashWolfgang Denk1-1/+1
2008-07-09Merge branch 'master' of git://www.denx.de/git/u-boot-netWolfgang Denk15-221/+1224
2008-07-09Merge branch 'master' of git://www.denx.de/git/u-boot-shWolfgang Denk24-121/+86
2008-07-09Allow print_size to print in GBBecky Bruce1-13/+21
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-07-08mips: When booting Linux images, add 'ethaddr' and 'eth1addr' to the environmentJason McMullan1-0/+11
Add 'ethaddr' and 'eth1addr' to the Linux kernel environment if they are set in the U-Boot environment. Signed-off-by: Jason McMullan <mcmullan@netapp.com> Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2008-07-08jedec_flash: Fix AM29DL800BB device IDStefan Roese1-1/+1
As pointed out by Jerry Hicks, this patch corrects the device ID of the Spansion AM29DL800BB NOR device. Verified against latest Spansion datasheet (rev C4 from Dezember 2006). Signed-off-by: Stefan Roese <sr@denx.de>
2008-07-08sh: Fix compile error sh7763rdp boardNobuhiro Iwamatsu1-10/+0
Disable SH ether driver. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2008-07-08sh: Fix SH-boards compile errorNobuhiro Iwamatsu14-14/+16
By Cleanup out-or-tree building for some boards (.depend) (commit:c8a3b109f07f02342d097b30908965f7261d9f15) because filse ware changed, some SH-boards have compile error. I revised this problem. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2008-07-07Merge branch 'master' of /home/stefan/git/u-boot/u-bootStefan Roese355-619/+6191
2008-07-06Remove duplicate code in cpu/arm926ejs/davinci/lxt972.c.Hugo Villeneuve1-27/+12
Remove duplicate code in cpu/arm926ejs/davinci/lxt972.c. Remove duplicate code in a if/else block in cpu/arm926ejs/davinci/lxt972.c. Fixed style issues. Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-07-06Remove duplicate definitions in include/lxt971a.h.Hugo Villeneuve7-168/+65
Remove duplicate definitions in include/lxt971a.h. Remove duplicate registers and bits definitions in include/lxt971a.h for standard MII registers, and use values in include/miiphy.h instead. Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-07-06net: sh: Renesas SH7763 Ethernet device supportNobuhiro Iwamatsu3-0/+1050
Renesas SH7763 has 2 channel Ethernet device. This is 10/100/1000 Base support. But this patch check 10/100 Base only. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-07-07sh: Update Renesas R2DPlus boardNobuhiro Iwamatsu1-33/+9
New NOR Flash board support and remove old type flash board config. And Remove network setting from config file. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2008-07-07sh: Update Renesas R7780MP boardNobuhiro Iwamatsu1-18/+23
New NOR Flash board support and remove network setting from config file. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2008-07-07sh: Update Renesas Migo-R boardNobuhiro Iwamatsu1-4/+0
Remove network setting from config file. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2008-07-07sh: Update Hitachi MS7722SE boardNobuhiro Iwamatsu1-4/+0
Remove network setting from config file. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2008-07-07sh: Cleanup source code of SH7763RDPNobuhiro Iwamatsu1-8/+9
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>