summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* 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>
| * | AT91: Makes AT91SAM9263 SoC build correctly against u-boot-atmel/masterXu, Hong2011-08-03-118/+83
| | | | | | | | | | | | | | | | | | | | | | | | Rework for AT91SAM9263 SoC, 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>
| * | AT91: Board fix for AT91SAM9261-EKXu, Hong2011-08-03-152/+154
| | | | | | | | | | | | | | | | | | | | | Fix board part of AT91SAM9261-EK according to the new scheme Signed-off-by: Hong Xu <hong.xu@atmel.com> Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * | AT91: SoC fix at91sam9261_matrix.hXu, Hong2011-08-03-41/+36
| | | | | | | | | | | | | | | | | | Fix at91sam9261_matrix.h according to the new scheme. Signed-off-by: Hong Xu <hong.xu@atmel.com>
| * | AT91: Makes AT91SAM9RL-EK build correctly against u-boot-atmel/masterXu, Hong2011-08-03-81/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rework for AT91SAM9RL-EK, makes it build again. Based on the work for AT91SAM9260-EK. V4: added changes to MAKEALL Signed-off-by: Hong Xu <hong.xu@atmel.com> Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * | AT91: Makes AT91SAM9RL SoC build correctly against u-boot-atmel/masterXu, Hong2011-08-03-209/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rework for AT91SAM9RL SoC, makes it build again. Based on the work for AT91SAM9260-EK. V4: US->USART, cosmetics Signed-off-by: Hong Xu <hong.xu@atmel.com> Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * | AT91: change common at91sam9261 files to compile with new schemeAsen Dimov2011-08-03-41/+38
| | | | | | | | | | | | | | | Signed-off-by: Asen Dimov <dimov@ronetix.at> Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * | AT91: fix mistake in at91sam9260_devices.c(spi1_hw_init)Reinhard Meyer2011-08-03-1/+1
| | | | | | | | | | | | | | | | | | | | | Bits 0..3 in cs_mask = CS0..CS3 in SPI mode require it to be peripheral Bits 4..7 in cs_mask = CS0..CS3 in GPIO mode require it to be output Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * | a/a/c/arm920t/at91/reset.c: drop obsolete CONFIG_AT91RM9200_USARTAndreas Bießmann2011-08-03-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | The CONFIG_AT91RM9200_USART is an remnant of 18ed5e9550810e2fc5bf2c757aee47774609651c which deleted the at91rm9200_usart driver. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
| * | README: fix arm920t/at91 pathAndreas Bießmann2011-08-03-1/+1
| | | | | | | | | | | | Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
| * | net/eth.c: drop obsolete at91rm9200 supportAndreas Bießmann2011-08-03-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | All available at91rm9200 boards have migrated to ar920t/at91 and therefore to CONFIG_NET_MULTI. The obsolete at91rm9200_miiphy_initialize() was removed in "ARM: remove obsolete at91rm9200". Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
| * | README.at91-soc: remove AT91(RM9200) joining noticeAndreas Bießmann2011-08-03-22/+0
| | | | | | | | | | | | | | | | | | | | | Since all currently supported at91rm9200 boards are migrated to at91 support the joining notice can be removed. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
| * | a/a/c/arm920t/cpu.c: remove CONFIG_AT91_LEGACY warningAndreas Bießmann2011-08-03-4/+0
| | | | | | | | | | | | | | | | | | | | | The CONFIG_AT91_LEGACY warning became obsolete due to complete removal of at91rm9200 arch code in arm920t. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
| * | MAKEALL: remove obsolete at91rm9200 socAndreas Bießmann2011-08-03-1/+0
| | | | | | | | | | | | | | | | | | | | | Since complete at91rm9200 SoC device was droped (due to replacement with common at91 code) this parameter can safely be removed. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
| * | ARM: remove obsolete at91rm9200Andreas Bießmann2011-08-03-2936/+0
| | | | | | | | | | | | | | | | | | | | | | | | The big "ARM: remove broken boards" series deletes all boards using obsolete arm920t/at91rm9200 arch code. Therefore we can safely remove this code now. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
| * | omap4: clock init support for omap4460Aneesh V2011-08-03-8/+65
| | | | | | | | | | | | | | | Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| * | omap4: support TPS programmingAneesh V2011-08-03-7/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TPS62361 is the new power supply used in OMAP4460 that supplies vdd_mpu. VCORE1 from Phoenix supplies vdd_core and VCORE2 supplies vdd_iva. VCORE3 is not used in OMAP4460. Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| * | omap: reuse omap3 gpio support in omap4Aneesh V2011-08-03-51/+105
| | | | | | | | | | | | | | | Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| * | omap4: sdram init changes for omap4460Aneesh V2011-08-03-19/+30
| | | | | | | | | | | | | | | Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| * | omap4: add omap4460 revision detectionAneesh V2011-08-03-0/+5
| | | | | | | | | | | | | | | Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| * | mkimage: Add OMAP boot image supportJohn Rigby2011-08-03-1/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add mkimage support for OMAP boot image - Add support for OMAP boot image(MLO) generation in the new SPL framework Signed-off-by: John Rigby <john.rigby@linaro.org> Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| * | omap: add MMC and FAT support to SPLAneesh V2011-08-03-2/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add MMC raw and FAT mode boot support for OMAP - Provide a means by which parameters passed by ROM-code can be saved in u-boot. - Save boot mode related information passed by OMAP4 ROM-code and use it to determine where to load the u-boot from - Assumes that the image has a mkimage header. Gets the payload size and load address from this header. If the header is not detected assume u-boot.bin as payload Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| * | omap: add basic SPL supportAneesh V2011-08-03-64/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Provide alternate implementations of board_init_f() board_init_r() for OMAP spl. - Provide linker script - Initialize global data - Add serial console support - Update CONFIG_SYS_TEXT_BASE to allow for SPL's bss and move it to board config header from config.mk Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| * | armv7: start.S: fixes and enhancements for SPLAneesh V2011-08-03-12/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Allow SPL to have .bss disjoint from rest of the image - Allow for .bss setup in CONFIG_SPL_BUILD case too. - Take care of the special case where relocation offset = 0. - Compile out exception handling code and install a simpler vector Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
| * | omap4: automatic sdram detectionAneesh V2011-08-03-0/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Identify SDRAM devices connected to EMIF automatically: LPDDR2 devices have some Mode Registers that provide details about the device such as the type, density, bus width etc. EMIF has the capability to read these registers. If there are no devices connected to a given chip-select reading mode registers will return junk values. After reading as many such registers as possible and matching with expected ranges of values the driver can identify if there is a device connected to the respective CS. If we identify that a device is connected the values read give us complete details about the device. This along with the base AC timings specified by JESD209-2 allows us to do a complete automatic initialization of SDRAM that works on all boards. Please note that the default AC timings specified by JESD209-2 will be safe for all devices but not necessarily optimal. However, for the Elpida devices used on Panda and SDP the default timings are both safe and optimal. Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>