summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/uniphier/ph1-sld8/umc_init.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-06 20:16:42 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-12 00:16:08 +0900
commita69e037e46f028f5baafc4b3740e21bcadd5a33d (patch)
tree55f8b9095a9634583ce57ecc2b45ea73db319dcd /arch/arm/cpu/armv7/uniphier/ph1-sld8/umc_init.c
parentb603c6812919ccb51680735faf1f8c589e82575c (diff)
ARM: UniPhier: move DDR related configuration to Kconfig
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/armv7/uniphier/ph1-sld8/umc_init.c')
-rw-r--r--arch/arm/cpu/armv7/uniphier/ph1-sld8/umc_init.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/cpu/armv7/uniphier/ph1-sld8/umc_init.c b/arch/arm/cpu/armv7/uniphier/ph1-sld8/umc_init.c
index ff2dcb1640..a44f999fbf 100644
--- a/arch/arm/cpu/armv7/uniphier/ph1-sld8/umc_init.c
+++ b/arch/arm/cpu/armv7/uniphier/ph1-sld8/umc_init.c
@@ -129,10 +129,6 @@ int umc_init(void)
CONFIG_SDRAM1_SIZE / 0x08000000);
}
-#if CONFIG_DDR_FREQ != 1333
-#error Unsupported DDR frequency.
-#endif
-
#if (CONFIG_SDRAM0_SIZE == 0x08000000 || CONFIG_SDRAM0_SIZE == 0x10000000) && \
(CONFIG_SDRAM1_SIZE == 0x08000000 || CONFIG_SDRAM1_SIZE == 0x10000000) && \
CONFIG_DDR_NUM_CH0 == 1 && CONFIG_DDR_NUM_CH1 == 1