diff options
author | Stefano Babic <sbabic@denx.de> | 2010-03-16 17:22:21 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2010-05-05 09:48:41 +0200 |
commit | b4377e12e9aa0b3bf2dcae0a0f02ec9086338506 (patch) | |
tree | 42b35377fb8fc01d243807380c78f48d1cf08c5c /include/configs | |
parent | d3588a55d4a041f2208290b8b6f9cecbdad179ac (diff) | |
download | u-boot-imx-b4377e12e9aa0b3bf2dcae0a0f02ec9086338506.zip u-boot-imx-b4377e12e9aa0b3bf2dcae0a0f02ec9086338506.tar.gz u-boot-imx-b4377e12e9aa0b3bf2dcae0a0f02ec9086338506.tar.bz2 |
Add SPI support to mx51evk board
The patch adds SPI devices to the mx51evk board.
The MC13892 chip (PMIC) is supported.
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx51evk.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h index 3626df7..86a4731 100644 --- a/include/configs/mx51evk.h +++ b/include/configs/mx51evk.h @@ -54,6 +54,8 @@ /* size in bytes reserved for initial data */ #define CONFIG_SYS_GBL_DATA_SIZE 128 +#define BOARD_LATE_INIT + /* * Hardware drivers */ @@ -61,6 +63,19 @@ #define CONFIG_SYS_MX51_UART1 /* + * SPI Configs + * */ +#define CONFIG_CMD_SPI + +#define CONFIG_MXC_SPI + +#define CONFIG_FSL_PMIC +#define CONFIG_FSL_PMIC_BUS 0 +#define CONFIG_FSL_PMIC_CS 0 +#define CONFIG_FSL_PMIC_CLK 2500000 +#define CONFIG_FSL_PMIC_MODE (SPI_CPOL | SPI_CS_HIGH) + +/* * MMC Configs * */ #define CONFIG_FSL_ESDHC |