diff options
author | Lily Zhang <r58066@freescale.com> | 2012-03-06 20:57:49 +0800 |
---|---|---|
committer | Lily Zhang <r58066@freescale.com> | 2012-03-06 20:57:49 +0800 |
commit | d80db149d9050853b913b20305801abc557af148 (patch) | |
tree | b4e80a4c7cc9388f02779b15ecf4611eb95d93c1 /board/freescale | |
parent | 27b291ac05796c428ea0b0d698e32c4faace59a9 (diff) | |
download | u-boot-imx-d80db149d9050853b913b20305801abc557af148.zip u-boot-imx-d80db149d9050853b913b20305801abc557af148.tar.gz u-boot-imx-d80db149d9050853b913b20305801abc557af148.tar.bz2 |
ENGR00176235 mx6 ARD: Add splash screen support
This patch adds splash screen support for MX6 ARD.
Changes:
- Configure GPIO_3 as I2C3_SCL
- Change MAX7310 I2C address as 0x30
- Enable LVDS power
Usage:
1. To enable splash screen by default, define
CONFIG_SPLASH_SCREEN in mx6q_sabreauto.h
2. Config U-boot with followed command:()
setenv splashimage '0x30000000'
#Set splash position as Center
setenv splashpos 'm,m'
#Set LVDS via LVDS bridge 0
setenv lvds_num 0
Signed-off-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx6q_sabreauto/mx6q_sabreauto.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c b/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c index 89886d2..6fa6d9a 100644 --- a/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c +++ b/board/freescale/mx6q_sabreauto/mx6q_sabreauto.c @@ -317,8 +317,8 @@ static void setup_i2c(unsigned int module_base) break; case I2C3_BASE_ADDR: - /* GPIO_5 for I2C3_SCL */ - mxc_iomux_v3_setup_pad(MX6Q_PAD_GPIO_5__I2C3_SCL); + /* GPIO_3 for I2C3_SCL */ + mxc_iomux_v3_setup_pad(MX6Q_PAD_GPIO_3__I2C3_SCL); /* GPIO_16 for I2C3_SDA */ mxc_iomux_v3_setup_pad(MX6Q_PAD_GPIO_16__I2C3_SDA); @@ -340,13 +340,13 @@ void setup_lvds_poweron(void) uchar value; i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); - i2c_read(0x1f, 3, 1, &value, 1); + i2c_read(0x30, 3, 1, &value, 1); value &= ~0x2; - i2c_write(0x1f, 3, 1, &value, 1); + i2c_write(0x30, 3, 1, &value, 1); - i2c_read(0x1f, 1, 1, &value, 1); + i2c_read(0x30, 1, 1, &value, 1); value |= 0x2; - i2c_write(0x1f, 1, 1, &value, 1); + i2c_write(0x30, 1, 1, &value, 1); } #endif #endif |