| Age | Commit message (Collapse) | Author |
|
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]>
|
|
Signed-off-by: Simon Glass <[email protected]>
|
|
This adds an enum for each pin and some functions for changing the pin
muxing setup.
Signed-off-by: Simon Glass <[email protected]>
|
|
This adds functions to enable/disable clocks and reset to on-chip peripherals.
Signed-off-by: Simon Glass <[email protected]>
|
|
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]>
|
|
Signed-off-by: Stefano Babic <[email protected]>
|
|
Signed-off-by: Stefano Babic <[email protected]>
|
|
Signed-off-by: Stefano Babic <[email protected]>
|
|
Signed-off-by: Stefano Babic <[email protected]>
|
|
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]>
|
|
Signed-off-by: Aneesh V <[email protected]>
|
|
Signed-off-by: Aneesh V <[email protected]>
Acked-by: Dirk Behme <[email protected]>
|
|
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]>
|
|
Signed-off-by: Stefano Babic <[email protected]>
|
|
Signed-off-by: Reinhard Meyer <[email protected]>
|
|
Based on earlier work by Alex Waterman <[email protected]>.
Signed-off-by: Thomas Petazzoni <[email protected]>
|
|
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]>
|
|
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]>
|
|
MFP macros for UART3 updated.
Signed-off-by: Ajay Bhargav <[email protected]>
|
|
auto gen asm-offsets.h for mb86r0x
Signed-off-by: Matthias Weisser <[email protected]>
|
|
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]>
|
|
Fix at91sam9261_matrix.h according to the new scheme.
Signed-off-by: Hong Xu <[email protected]>
|
|
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]>
|
|
Signed-off-by: Asen Dimov <[email protected]>
Signed-off-by: Reinhard Meyer <[email protected]>
|
|
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]>
|
|
Signed-off-by: Aneesh V <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
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]>
|
|
Signed-off-by: Aneesh V <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
Signed-off-by: Aneesh V <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
Signed-off-by: Aneesh V <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
- 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]>
|
|
- 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]>
|
|
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]>
|
|
Add support for the SDRAM controller (EMIF).
Signed-off-by: Aneesh V <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
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]>
|
|
Signed-off-by: Aneesh V <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
- 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]>
|
|
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]>
|
|
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]>
|
|
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]>
|
|
Signed-off-by: Laurence Withers <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
|
|
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]>
|
|
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]>
|
|
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]>
|
|
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]>
|
|
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]>
|
|
Signed-off-by: Michael Jones <[email protected]>
Acked-by: Detlev Zundel <[email protected]>
|
|
* '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
|
|
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]>
|
|
Add __ilog2 function for ARM. Needed for ahci.c
Signed-off-by: Rob Herring <[email protected]>
Cc: Albert ARIBAUD <[email protected]>
|