summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2012-10-16 17:26:44 +0800
committerJason Liu <r64343@freescale.com>2012-10-16 17:44:52 +0800
commit1d11a8a0d609eda3c9d3ec0004008b0cf1eb7454 (patch)
tree1c74f487daf3cbd4d321e9a1bc1f2b9179d6f123
parentd6ff40e31c8f8dcdeba646e931e97aa1c7c74ed0 (diff)
downloadu-boot-imx-1d11a8a0d609eda3c9d3ec0004008b0cf1eb7454.zip
u-boot-imx-1d11a8a0d609eda3c9d3ec0004008b0cf1eb7454.tar.gz
u-boot-imx-1d11a8a0d609eda3c9d3ec0004008b0cf1eb7454.tar.bz2
ENGR00229817: i.mx6dl/mx6solo_sabresd_config: fix the build issue
This patch fixed the following build issue: mx6q_sabresd.c:1382: undefined reference to `imx_pwm_config' mx6q_sabresd.c:1383: undefined reference to `imx_pwm_enable' And also removed the extra '_' in the config name. Signed-off-by: Jason Liu <r64343@freescale.com>
-rw-r--r--Makefile2
-rw-r--r--include/configs/mx6solo_sabresd.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b4d850f..d805238 100644
--- a/Makefile
+++ b/Makefile
@@ -3322,7 +3322,7 @@ mx6q_arm2_iram_config : unconfig
}
@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 mx6q_arm2 freescale mx6
-mx6solo_sabresd__config \
+mx6solo_sabresd_config \
mx6dl_sabresd_config \
mx6dl_sabresd_mfg_config \
mx6dl_sabresd_android_config \
diff --git a/include/configs/mx6solo_sabresd.h b/include/configs/mx6solo_sabresd.h
index a317189..ea94ae3 100644
--- a/include/configs/mx6solo_sabresd.h
+++ b/include/configs/mx6solo_sabresd.h
@@ -347,6 +347,10 @@
#define CONFIG_BMP_8BPP
#define CONFIG_SPLASH_SCREEN_ALIGN
#define CONFIG_SYS_WHITE_ON_BLACK
+
+ #define CONFIG_IMX_PWM
+ #define IMX_PWM1_BASE PWM1_BASE_ADDR
+ #define IMX_PWM2_BASE PWM2_BASE_ADDR
#endif
#endif /* CONFIG_SPLASH_SCREEN */
#endif /* __CONFIG_H */