diff options
author | Jie Zhou <b30303@freescale.com> | 2010-08-23 09:59:36 +0800 |
---|---|---|
committer | Jie Zhou <b30303@freescale.com> | 2010-08-24 12:36:32 +0800 |
commit | 3114fcd3ea13a4083eb79b52a64322d28d21f770 (patch) | |
tree | 529a602a58def671085c3652b4331957288f914d | |
parent | 1896588adf301560e711df45e5e544ad3c3b8099 (diff) |
ENGR00126565-1 MX50: add z160 version to platform_data of gpu_device
MX50 has some RTL fix for Z160
Signed-off-by: Jie Zhou <b30303@freescale.com>
-rw-r--r-- | arch/arm/mach-mx5/mx50_arm2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/mx50_arm2.c b/arch/arm/mach-mx5/mx50_arm2.c index 95579541ea2a..2cf22ec1292b 100644 --- a/arch/arm/mach-mx5/mx50_arm2.c +++ b/arch/arm/mach-mx5/mx50_arm2.c @@ -434,6 +434,8 @@ static struct mxc_srtc_platform_data srtc_data = { .srtc_sec_mode_addr = OCOTP_CTRL_BASE_ADDR + 0x80, }; +static int z160_version = 1; + #define mV_to_uV(mV) (mV * 1000) #define uV_to_mV(uV) (uV / 1000) #define V_to_uV(V) (mV_to_uV(V * 1000)) @@ -1070,7 +1072,7 @@ static void __init mxc_board_init(void) mxc_register_device(&mxc_rtc_device, &srtc_data); mxc_register_device(&mxc_w1_master_device, &mxc_w1_data); - mxc_register_device(&gpu_device, NULL); + mxc_register_device(&gpu_device, &z160_version); mxc_register_device(&mxc_pxp_device, NULL); mxc_register_device(&mxc_pxp_client_device, NULL); mxc_register_device(&mxc_dvfs_core_device, &dvfs_core_data); |