summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* MIPS: mips32: fix wrong loop bound in flush_cache()Yao Cheng2011-09-03-0/+4
| | | | | | | | | | | The issue is found when calling flush_cache() with zero "size" argument. The bound of loop is miscalculated in this case and flush_cache() enters a wrong flushing loop. Signed-off-by: Yao Cheng <saturdaycoder@gmail.com> Cc: Shinya Kuribayashi <skuribay@pobox.com> Cc: Sergei Shtylyov <sshtylyov@mvista.com> Cc: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
* MPC8xx: fix build problem for ETX094 boardWolfgang Denk2011-08-31-143/+3
| | | | | | | | | | Commit 7616e78 "Add Ethernet hardware MAC address framework to usbnet" increased the code size and broke building for the ETX094 board. Adjust the linker script to make it build again. While we are at it, remove unused u-boot.lds.debug Signed-off-by: Wolfgang Denk <wd@denx.de>
* phy.c: make less verbose - turn printf() into debug()Wolfgang Denk2011-08-31-1/+1
| | | | | | | | | | | | | | | | | | | | The PHY driver was too verbose and corrupted the boot message display like this: ... Net: TSEC0 connected to Marvell 88E1111S TSEC1 connected to Marvell 88E1111S TSEC0, TSEC1 ... Turn printf() into debug() so we het the expected output again: ... Net: TSEC0, TSEC1 ... Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Kumar Gala <galak@kernel.crashing.org>
* Merge branch 'master' of git://git.denx.de/u-boot-shWolfgang Denk2011-08-26-2/+1340
|\ | | | | | | | | | | | | | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-sh: sh: add calling mmc_initialize in board.c sh: sh7757lcr: Add KEEP order to start.o section usb: r8a66597: Fix argument mistake of inl sh: Clean up rsk7264 board settings sh: sh2a: Add sh2a optimize to config.mk sh: Fix rsk7203 alignment problem sh: Add support for SH2A freestanding build sh: Add Renesas rsk7264 board
| * sh: add calling mmc_initialize in board.cYoshihiro Shimoda2011-08-22-0/+12
| | | | | | | | | | | | | | | | Some SH have MMC controller. So, if we need it, we have to call the mmc_initialize(). Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: sh7757lcr: Add KEEP order to start.o sectionYoshihiro Shimoda2011-08-22-1/+1
| | | | | | | | | | | | | | | | | | | | The sh7757lcr has a local u-boot.lds because the sh7757lcr is only supported the SPI booting. This patch refers from the commit "sh: Add KEEP order to start.o section" (commit ID: b52da2aed8c2c388661f369052a97d5b5c9ed00a). Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * usb: r8a66597: Fix argument mistake of inlNobuhiro Iwamatsu2011-08-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Fail in build, because argument of inl used in r8a66597_read_fifo is wrong. r8a66597.h:441:35: error: macro "inl" passed 2 arguments, but takes just 1 In file included from r8a66597-hcd.c:25: r8a66597.h: In function ‘r8a66597_read_fifo’: r8a66597.h:441: error: ‘inl’ undeclared (first use in this function) r8a66597.h:441: error: (Each undeclared identifier is reported only once r8a66597.h:441: error: for each function it appears in.) Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: Clean up rsk7264 board settingsPhil Edworthy2011-08-22-45/+24
| | | | | | | | | | | | | | | | | | | | Adjusted default settings so that we can boot zImages and uImages. Removed unused settings, use default commands and where possible calculate all other settings. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: sh2a: Add sh2a optimize to config.mkNobuhiro Iwamatsu2011-08-22-0/+5
| | | | | | | | | | | | | | | | Only the optimization of sh2 had been supported up. This adds the optimization of sh2a. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: Fix rsk7203 alignment problemPhil Edworthy2011-08-22-0/+1
| | | | | | | | | | Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: Add support for SH2A freestanding buildPhil Edworthy2011-08-22-0/+868
| | | | | | | | | | | | | | | | | | | | SH2A toolchains often only provide an fdpic version of libgcc. This can't be used with bare-metal software like U-Boot, so this patch provides the necessary functions extracted from libgcc. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: Add Renesas rsk7264 boardPhil Edworthy2011-08-22-1/+474
| | | | | | | | | | | | | | | | | | | | The rsk7264 (also know as rsk2+sh7264) is an SH2A based board with 64MB NAND flash and 64MB SDRAM. It is very similar to the rsk7203 board. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | Merge branch 'master' of git://git.denx.de/u-boot-ubiWolfgang Denk2011-08-26-4/+2
|\ \ | | | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-ubi: ubifs: Fix bad free() sequence in ubifs_finddir()
| * | ubifs: Fix bad free() sequence in ubifs_finddir()Wolfgang Denk2011-08-19-4/+2
| |/ | | | | | | | | | | | | | | | | | | | | Free private_data member element before freeing file structure. This was causing malloc to crash. Also remove unnecessary variable assigments as file structure gets free'd as well. Signed-off-by: Rod Boyce <uboot@teamboyce.co.uk> Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
* | usb: increase non-bulk timeout for slow chipsets.Jason Cooper2011-08-08-1/+1
| | | | | | | | | | | | | | | | | | | | If you take a look at 96820a35, you'll see the original timeout was CONFIG_SYS_HZ. Which is 1000. After the mentioned change, non-bulk timeout was changed to 100. This causes timeout failures on the dreamplug platform when trying to initialize the usb microsd reader. Signed-off-by: Jason Cooper <u-boot@lakedaemon.net> Acked-by: Mike Frysinger <vapier@gentoo.org>
* | USB: Move USB_PRINTF() out of ifdef in usb_scan_devices()Marek Vasut2011-08-08-1/+1
| | | | | | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
* | USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllersMarek Vasut2011-08-08-0/+1
| | | | | | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
* | usb: r8a66597: Fix argument mistake of inlNobuhiro Iwamatsu2011-08-08-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Fail in build, because argument of inl used in r8a66597_read_fifo is wrong. r8a66597.h:441:35: error: macro "inl" passed 2 arguments, but takes just 1 In file included from r8a66597-hcd.c:25: r8a66597.h: In function ‘r8a66597_read_fifo’: r8a66597.h:441: error: ‘inl’ undeclared (first use in this function) r8a66597.h:441: error: (Each undeclared identifier is reported only once r8a66597.h:441: error: for each function it appears in.) Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | Put common autoload code into auto_load() functionSimon Glass2011-08-08-43/+33
| | | | | | | | | | | | | | This is a small clean-up patch. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Eric Bénard <eric@eukrea.com>
* | Add documentation for USB Host NetworkingSimon Glass2011-08-08-1/+156
| | | | | | | | | | | | | | | | This describes what it is for, devices supported, how to enable for your board in U-Boot, setting up the server, and notes about MAC addresses. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Eric Bénard <eric@eukrea.com>
* | Add Ethernet hardware MAC address framework to usbnetSimon Glass2011-08-08-30/+72
| | | | | | | | | | | | | | | | | | | | | | | | Built-in Ethernet adapters support setting the mac address by means of a ethaddr environment variable for each interface (ethaddr, eth1addr, eth2addr). This adds similar support to the USB network side, using the names usbethaddr, usbeth1addr, etc. They are kept separate since we don't want a USB device taking the MAC address of a built-in device or vice versa. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Eric Bénard <eric@eukrea.com>
* | Add support for SMSC95XX USB 2.0 10/100MBit Ethernet AdapterSimon Glass2011-08-08-0/+900
|/ | | | | | | | The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support for this, using the USB host network framework. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Eric Bénard <eric@eukrea.com>
* Convert ISO-8859 files to UTF-8Albert ARIBAUD2011-08-04-184/+184
| | | | | | | | There was a mix of UTF-8 and ISO-8859 files in the U-Boot source tree, which could cause issues with the patchwork review system. This commit converts all ISO-8859 files to UTF-8. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
* mpc5200: digsy_mtc: fix extension board EEPROM I2C address for rev5Anatolij Gustschin2011-08-04-4/+8
| | | | | | | | | On newer rev5 hardware the extension board EEPROM I2C address has been changed to 0x54. Make this I2C address configurable depending on CONFIG_DIGSY_REV5 so that extention board presence detection works correctly on newer hardware. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* hwmon: do not init sensors on startupHeiko Schocher2011-08-04-149/+28
| | | | | | | | | | | | | | | | | The U-Boot Design Principles[1] clearly say: Initialize devices only when they are needed within U-Boot, i.e. don't initialize the Ethernet interface(s) unless U-Boot performs a download over Ethernet; don't initialize any IDE or USB devices unless U-Boot actually tries to load files from these, etc. (and don't forget to shut down these devices after using them - otherwise nasty things may happen when you try to boot your OS). So, do not initialize and read the sensors on startup. Signed-off-by: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de> cc: Holger Brunck <holger.brunck@keymile.com>
* Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk2011-08-04-4253/+8005
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-arm: drivers/rtc: add Marvell Integrated RTC Armada100: Add Board Support for Marvell GuruPlug-Display Armada100: MFP macro naming correction arm: auto gen asm-offsets.h for mb86r0x spear: fix build errors for spear3xx/spear600 platforms cosmetic: arm: lib/board.c: Coding Style cleanup ARM: versatile: fix board support SMDKV310: Enable device tree support SMDKV310: MMC_SPL: Fix building when using "make O=" arm: a320: enable tagged list support arm: a320: fix multiline comment style ARMv7: u8500_href: Add missing header to fix compiler warning Removed unused define, CONFIG_ARMV7. avr32: add grasshopper (ICnova AP7000) board AT91/SPI: fix atmel_dataflash_spi.c to allow building without warnings MAKEALL: remove AT91 boards that are in boards.cfg AT91: Makes AT91SAM9263-EK build correctly against u-boot-atmel/master AT91: Makes AT91SAM9263 SoC build correctly against u-boot-atmel/master AT91: Board fix for AT91SAM9261-EK AT91: SoC fix at91sam9261_matrix.h AT91: Makes AT91SAM9RL-EK build correctly against u-boot-atmel/master AT91: Makes AT91SAM9RL SoC build correctly against u-boot-atmel/master AT91: change common at91sam9261 files to compile with new scheme AT91: fix mistake in at91sam9260_devices.c(spi1_hw_init) a/a/c/arm920t/at91/reset.c: drop obsolete CONFIG_AT91RM9200_USART README: fix arm920t/at91 path net/eth.c: drop obsolete at91rm9200 support README.at91-soc: remove AT91(RM9200) joining notice a/a/c/arm920t/cpu.c: remove CONFIG_AT91_LEGACY warning MAKEALL: remove obsolete at91rm9200 soc ARM: remove obsolete at91rm9200 omap4: clock init support for omap4460 omap4: support TPS programming omap: reuse omap3 gpio support in omap4 omap4: sdram init changes for omap4460 omap4: add omap4460 revision detection mkimage: Add OMAP boot image support omap: add MMC and FAT support to SPL omap: add basic SPL support armv7: start.S: fixes and enhancements for SPL omap4: automatic sdram detection omap4: calculate EMIF register values omap4: add sdram init support omap4: add clock support omap4: add OMAP4430 revision check omap4: cleanup pin mux data omap4: utility function to identify the context of hw init DA8xx: fix LPSC constants DA8xx: switch an enum to defines for consistency DA8xx: add MMC/SD controller addresses DaVinci EMAC: declare function for all DA8xx CPUs DA8xx: add generic GPIO driver DaVinci: rename gpio_defs.h to gpio.h omap3evm: eth: Include functions only when necessary omap3evm: Update ethernet reset sequence for Rev.G board omap3evm: eth: split function setup_net_chip omap3: Include array definition only when it is used omap730p2: fix build breaks omap2420h4: fix build breaks omap1610inn: fix build breaks omap1510inn: fix build breaks omap5912osk: fix build breaks omap1610h2: fix build breaks
| * drivers/rtc: add Marvell Integrated RTCJason Cooper2011-08-04-0/+191
| | | | | | | | | | | | | | This driver can be used for kirkwood SoCs by enabling CONFIG_RTC_MV. Tested on Global Scale Technologies Dreamplug. Signed-off-by: Jason Cooper <u-boot@lakedaemon.net>
| * Armada100: Add Board Support for Marvell GuruPlug-DisplayAjay Bhargav2011-08-04-0/+211
| | | | | | | | | | | | | | | | This patch adds basic board support with DRAM and UART functionality Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com> Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com> Acked-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com>
| * Armada100: MFP macro naming correctionAjay Bhargav2011-08-04-2/+2
| | | | | | | | | | | | MFP macros for UART3 updated. Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
| * Merge commit '7b2fac7654f7420c2787f74ec3b1540fa3b343e9'Albert ARIBAUD2011-08-04-0/+0
| |\
| | * omap730p2: fix build breaksAneesh V2011-06-09-0/+5
| | | | | | | | | | | | | | | | | | | | | Provide SDRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| | * omap2420h4: fix build breaksAneesh V2011-06-09-0/+4
| | | | | | | | | | | | | | | | | | | | | DRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| | * omap1610inn: fix build breaksAneesh V2011-06-09-0/+5
| | | | | | | | | | | | | | | | | | | | | Provide SDRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| | * omap1510inn: fix build breaksAneesh V2011-06-09-0/+5
| | | | | | | | | | | | | | | | | | | | | Provide SDRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| | * omap5912osk: fix build breaksAneesh V2011-06-09-0/+5
| | | | | | | | | | | | | | | | | | | | | Provide SDRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| | * omap1610h2: fix build breaksAneesh V2011-06-09-0/+5
| | | | | | | | | | | | | | | | | | | | | Provide SDRAM base address and use SRAM for initial stack Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| * | arm: auto gen asm-offsets.h for mb86r0xMatthias Weisser2011-08-04-74/+109
| | | | | | | | | | | | | | | | | | auto gen asm-offsets.h for mb86r0x Signed-off-by: Matthias Weisser <weisserm@arcor.de>
| * | spear: fix build errors for spear3xx/spear600 platformsShiraz Hashim2011-08-04-3/+19
| | | | | | | | | | | | | | | Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> Acked-by: Vipin Kumar <vipin.kumar@st.com>
| * | cosmetic: arm: lib/board.c: Coding Style cleanupHeiko Schocher2011-08-04-105/+111
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Detlev Zundel <dzu@denx.de> cc: Albert Aribaud <albert.u.boot@aribaud.net> cc: <macpaul@gmail.com> cc: Wolfgang Denk <wd@denx.de>
| * | ARM: versatile: fix board supportStefano Babic2011-08-04-16/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Versatile board is used as example to run u-boot under qemu. The patch fixes relocation for all versatile boards and adds a versatileqemu target to be used under qemu. Patch tested only under qemu, not on real boards. Tested with QEMU emulator version 0.14.50. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Alessandro Rubini <rubini-list@gnudd.com> CC: Loïc Minier <loic.minier@linaro.org>
| * | SMDKV310: Enable device tree supportThomas Abraham2011-08-04-0/+3
| | | | | | | | | | | | | | | | | | Enable passing a flattened device tree to the kernel. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
| * | SMDKV310: MMC_SPL: Fix building when using "make O="Chander Kashyap2011-08-04-6/+6
| | | | | | | | | | | | | | | | | | | | | Fixes dependency build error with "make O=" option. "make O=" option is used to specify output directory. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
| * | arm: a320: enable tagged list supportPo-Yu Chuang2011-08-04-0/+6
| | | | | | | | | | | | Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
| * | arm: a320: fix multiline comment stylePo-Yu Chuang2011-08-04-14/+14
| | | | | | | | | | | | Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
| * | ARMv7: u8500_href: Add missing header to fix compiler warningDirk Behme2011-08-04-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the compiler warning u8500_href.c: In function 'hrefplus_mmc_power_init': u8500_href.c:258: warning: implicit declaration of function 'prcmu_i2c_read' u8500_href.c:265: warning: implicit declaration of function 'prcmu_i2c_write' by adding the missing header file. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
| * | Removed unused define, CONFIG_ARMV7.Christopher Harvey2011-08-04-23/+0
| | | | | | | | | | | | Signed-off-by: Christopher Harvey <charvey@matrox.com>
| * | avr32: add grasshopper (ICnova AP7000) boardAndreas Bießmann2011-08-03-0/+357
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The grasshopper board is a neat avr32 evaluation kit produced by In-Circuit GmbH. See http://www.ic-board.de/product_info.php?info=p75_ICnova-AP7000-Base.html for detailed information about this device. Signed-off-by: Andreas Bießmann <biessmann@corscience.de> Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * | AT91/SPI: fix atmel_dataflash_spi.c to allow building without warningsReinhard Meyer2011-08-03-3/+13
| | | | | | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * | MAKEALL: remove AT91 boards that are in boards.cfgReinhard Meyer2011-08-03-5/+0
| | | | | | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * | AT91: Makes AT91SAM9263-EK build correctly against u-boot-atmel/masterXu, Hong2011-08-03-89/+98
| | | | | | | | | | | | | | | | | | | | | | | | Rework for AT91SAM9263-EK, makes it build again. Based on the work for AT91SAM9260-EK. Signed-off-by: Hong Xu <hong.xu@atmel.com> Signed-off-by: Reinhard Meyer <uboot@emk-elektronik.de>