aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/samsung/smdk5250/smdk5250_spl.c4
-rw-r--r--include/configs/smdk5250.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/board/samsung/smdk5250/smdk5250_spl.c b/board/samsung/smdk5250/smdk5250_spl.c
index 1d453cafc..1f0ce72e9 100644
--- a/board/samsung/smdk5250/smdk5250_spl.c
+++ b/board/samsung/smdk5250/smdk5250_spl.c
@@ -49,8 +49,8 @@ static struct spl_machine_param machine_param
.uboot_size = 0x100000,
.boot_source = BOOT_MODE_OM,
- .frequency_mhz = 800,
- .arm_freq_mhz = 1700,
+ .frequency_mhz = CONFIG_BUS_CLK_FREQ,
+ .arm_freq_mhz = CONFIG_ARM_CLK_FREQ,
.serial_base = 0x12c30000,
.i2c_base = 0x12c60000,
.mem_manuf = MEM_MANUF_SAMSUNG,
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index 3a567ff51..fd7ececae 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -45,6 +45,8 @@
/* input clock of PLL: SMDK5250 has 24MHz input clock */
#define CONFIG_SYS_CLK_FREQ 24000000
+#define CONFIG_ARM_CLK_FREQ 1700 /* in MHz*/
+#define CONFIG_BUS_CLK_FREQ 800 /* in MHz*/
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_CMDLINE_TAG