summaryrefslogtreecommitdiff
path: root/arch/arm/include
AgeCommit message (Collapse)Author
2011-09-04i2c:gpio:s5p: I2C GPIO Software implementation (via soft_i2c)Łukasz Majewski
This patch adds support for software I2C for GONI and Universal C210 reference targets. It adds support for access to GPIOs by number, not as it is present, by bank and offset. Signed-off-by: Lukasz Majewski <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Minkyu Kang <[email protected]> Cc: Heiko Schocher <[email protected]>
2011-09-04Tegra2: Use clock and pinmux functions to simplify codeSimon Glass
Signed-off-by: Simon Glass <[email protected]>
2011-09-04Tegra2: Add additional pin multiplexing featuresSimon Glass
This adds an enum for each pin and some functions for changing the pin muxing setup. Signed-off-by: Simon Glass <[email protected]>
2011-09-04Tegra2: Add more clock supportSimon Glass
This adds functions to enable/disable clocks and reset to on-chip peripherals. Signed-off-by: Simon Glass <[email protected]>
2011-09-04Tegra2: Add microsecond timer functionSimon Glass
These functions provide access to the high resolution microsecond timer and tidy up a global variable in the code. Signed-off-by: Simon Glass <[email protected]>
2011-09-04MX35: make use of GPIO framework for MX35 processorStefano Babic
Signed-off-by: Stefano Babic <[email protected]>
2011-09-04MX5: make use of GPIO framework for MX5 processorStefano Babic
Signed-off-by: Stefano Babic <[email protected]>
2011-09-04MX31: make use of GPIO framework for MX31 processorStefano Babic
Signed-off-by: Stefano Babic <[email protected]>
2011-09-04MX25: make use of GPIO framework for MX25 processorStefano Babic
Signed-off-by: Stefano Babic <[email protected]>
2011-09-04ARM: MX51: PLL errata workaroundDavid Jander
This is a port of the official PLL errata workaround from Freescale to mainline u-boot. The PLL's in the i.MX51 processor can go out of lock due to a metastable condition in an analog flip-flop when used at high frequencies. This workaround implements an undocumented feature in the PLL (dither mode), which causes the effect of this failure to be much lower (in terms of frequency deviation), avoiding system failure, or at least decreasing the likelihood of system failure. Signed-off-by: David Jander <[email protected]>
2011-09-04omap4: fix build warning due to signed unsigned comparisonAneesh V
Signed-off-by: Aneesh V <[email protected]>
2011-09-04omap: fix gpio related build breaksAneesh V
Signed-off-by: Aneesh V <[email protected]> Acked-by: Dirk Behme <[email protected]>
2011-09-03gpio:samsung s5p_ suffix add for GPIO functionsŁukasz Majewski
This change is driven by need of general gpio_* functions, which as their parameter are accepting the GPIO pin number, NOT block and pin. This makes the code alike to omap, and allows for using more generic frameworks (e.g. software I2C). Signed-off-by: Lukasz Majewski <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Minkyu Kang <[email protected]> Acked-by: Mike Frysinger <[email protected]>
2011-09-03MX31: removed warnings due to clock.hStefano Babic
Signed-off-by: Stefano Babic <[email protected]>
2011-09-03AT91: fix at91sam9g45.h to include USB Host definesReinhard Meyer
Signed-off-by: Reinhard Meyer <[email protected]>
2011-09-03atmel: update at91sam9m10g45 SoC support to new styleThomas Petazzoni
Based on earlier work by Alex Waterman <[email protected]>. Signed-off-by: Thomas Petazzoni <[email protected]>
2011-08-04Convert ISO-8859 files to UTF-8Albert ARIBAUD
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 <[email protected]>
2011-08-04drivers/rtc: add Marvell Integrated RTCJason Cooper
This driver can be used for kirkwood SoCs by enabling CONFIG_RTC_MV. Tested on Global Scale Technologies Dreamplug. Signed-off-by: Jason Cooper <[email protected]>
2011-08-04Armada100: MFP macro naming correctionAjay Bhargav
MFP macros for UART3 updated. Signed-off-by: Ajay Bhargav <[email protected]>
2011-08-04arm: auto gen asm-offsets.h for mb86r0xMatthias Weisser
auto gen asm-offsets.h for mb86r0x Signed-off-by: Matthias Weisser <[email protected]>
2011-08-03AT91: Makes AT91SAM9263 SoC build correctly against u-boot-atmel/masterXu, Hong
Rework for AT91SAM9263 SoC, makes it build again. Based on the work for AT91SAM9260-EK. Signed-off-by: Hong Xu <[email protected]> Signed-off-by: Reinhard Meyer <[email protected]>
2011-08-03AT91: SoC fix at91sam9261_matrix.hXu, Hong
Fix at91sam9261_matrix.h according to the new scheme. Signed-off-by: Hong Xu <[email protected]>
2011-08-03AT91: Makes AT91SAM9RL SoC build correctly against u-boot-atmel/masterXu, Hong
Rework for AT91SAM9RL SoC, makes it build again. Based on the work for AT91SAM9260-EK. V4: US->USART, cosmetics Signed-off-by: Hong Xu <[email protected]> Signed-off-by: Reinhard Meyer <[email protected]>
2011-08-03AT91: change common at91sam9261 files to compile with new schemeAsen Dimov
Signed-off-by: Asen Dimov <[email protected]> Signed-off-by: Reinhard Meyer <[email protected]>
2011-08-03ARM: remove obsolete at91rm9200Andreas Bießmann
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 <[email protected]>
2011-08-03omap4: clock init support for omap4460Aneesh V
Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap4: support TPS programmingAneesh V
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 <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap: reuse omap3 gpio support in omap4Aneesh V
Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap4: sdram init changes for omap4460Aneesh V
Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap4: add omap4460 revision detectionAneesh V
Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap: add MMC and FAT support to SPLAneesh V
- 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 <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap: add basic SPL supportAneesh V
- 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 <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap4: calculate EMIF register valuesAneesh V
Calculate EMIF register values based on AC timing parameters from the SDRAM datasheet and the DDR frequency rather than using the hard-coded values. For a new board the user doen't have to go through the tedious process of calculating the register values. Instead, just provide the AC timings from the device data sheet as input and the driver will automatically calculate the register values. Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap4: add sdram init supportAneesh V
Add support for the SDRAM controller (EMIF). Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap4: add clock supportAneesh V
Add support for: 1. DPLL locking 2. Initialization of clock domains and clock modules 3. Setting up the right voltage on voltage rails This work draws upon previous work done for x-loader by: Santosh Shilimkar <[email protected]> Rajendra Nayak <[email protected]> Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap4: add OMAP4430 revision checkAneesh V
Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap4: cleanup pin mux dataAneesh V
- separate mux settings into essential and non essential parts - essential part is board independent as of now(so move it to SoC directory). Will help in having single SPL for all boards. - Non-essential part(the pins not essential for u-boot to function) need to be phased out eventually. - Correct mux data by aligning to the latest settings in x-loader Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03omap4: utility function to identify the context of hw initAneesh V
The basic hardware init of OMAP4(s_init()) can happen in 4 different contexts: 1. SPL running from SRAM 2. U-Boot running from FLASH 3. Non-XIP U-Boot loaded to SDRAM by SPL 4. Non-XIP U-Boot loaded to SDRAM by ROM code using the Configuration Header feature What level of hw initialization gets done depends on this context. Add a utility function to find this context. Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03DA8xx: fix LPSC constantsLaurence Withers
Some of the LPSC constants were incorrect, and some were missing. This commit fixes the incorrect constants (which were not used anywhere in the tree) and adds all constants for both DA830 and DA850, as per the TI datasheets. Signed-off-by: Laurence Withers <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03DA8xx: switch an enum to defines for consistencyLaurence Withers
There are two main sets of LPSC constants, depending on the processor family. The DA8xx constants were given in an enum whereas the non-DA8xx constants were preprocessor defines. This commit switches the DA8xx constants to defines for consistency. Signed-off-by: Laurence Withers <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03DA8xx: add MMC/SD controller addressesLaurence Withers
Signed-off-by: Laurence Withers <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03DaVinci EMAC: declare function for all DA8xx CPUsLaurence Withers
The function davinci_emac_mii_mode_sel() is defined in board/davinci/common/misc.c for any DA8xx CPU which has CONFIG_DRIVER_TI_EMAC enabled. However, the prototype was only being declared in <include/asm/arch/davinci_misc.h> for the DA850 EVM board. This patch declares it for all DA8xx CPUs where CONFIG_DRIVER_TI_EMAC is enabled. Signed-off-by: Laurence Withers <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03DA8xx: add generic GPIO driverLaurence Withers
Add a generic GPIO driver for the DaVinci DA8xx processors. It is turned on by defining CONFIG_DA8XX_GPIO and fulfills the generic GPIO interface specified in <asm/gpio.h> . The driver has support for both manipulating GPIO pins as well as automatically configuring the pin multiplexor registers to set the pin function to GPIO. Signed-off-by: Laurence Withers <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-03DaVinci: rename gpio_defs.h to gpio.hLaurence Withers
In preparation for a generic GPIO driver for the DA8xx processors, rename <asm/arch/gpio_defs.h> to <asm/arch/gpio.h> and fix up all files which include it. Signed-off-by: Laurence Withers <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-08-01Unify timer_init() and cpu_init() prototypesWolfgang Denk
Clean up some duplicated prototype declarations. Get rid of now useless AVR32 initcalls.h file. Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert Aribaud <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: Graeme Russ <[email protected]>
2011-08-01ARM: fix error: conflicting types for 'setenv'seedshope
Also remove bogus comment. Signed-off-by: Zhong hongbo <[email protected]> Changed commit message Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert Aribaud <[email protected]>
2011-07-28cosmetic: spell fixes etc.Michael Jones
Signed-off-by: Michael Jones <[email protected]> Acked-by: Detlev Zundel <[email protected]>
2011-07-19Merge branch 'master' of git://git.denx.de/u-boot-mmcWolfgang Denk
* 'master' of git://git.denx.de/u-boot-mmc: mmc: rescan fails on empty slot AT91:mmc:fix multiple read/write error mmc: Access mode validation for eMMC cards > 2 GiB mmc: sh_mmcif: add support for Renesas MMCIF mmc: fix the condition for MMC version 4 MMC: add marvell sdhci driver MMC: add sdhci generic framework MMC: add erase function to both mmc and sd MMC: unify mmc read and write operation mmc: Tegra2: Enable SD/MMC driver for Seaboard and Harmony mmc: Tegra2: SD/MMC driver for Seaboard - eMMC on SDMMC4, SDIO on SDMMC3
2011-07-18MX31: Cleanup clock functionStefano Babic
The patch provide the same API used with other i.MX processors and get rid of mx31_ functions. Signed-off-by: Stefano Babic <[email protected]>
2011-07-16arm: add __ilog2 functionRob Herring
Add __ilog2 function for ARM. Needed for ahci.c Signed-off-by: Rob Herring <[email protected]> Cc: Albert ARIBAUD <[email protected]>