summaryrefslogtreecommitdiff
path: root/include/configs/vme8349.h
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-01-21 09:17:53 +0100
committerMario Six <mario.six@gdsys.cc>2019-05-21 07:52:06 +0200
commitff3bb0c435e0d10ccb61a8fd2dada3ae72f1f97e (patch)
treedad255071cc1ca17121a6dd44ee66688e09ac0fe /include/configs/vme8349.h
parent0f06f57c280eaec528c76ebfca9b22aa181ca8be (diff)
mpc83xx: Get rid of CONFIG_83XX_CLKIN
MPC83xx uses CONFIG_83XX_CLKIN instead of CONFIG_SYS_CLK_FREQ to set the system clock. To migrate the architecture, we can replace CONFIG_83XX_CLKIN with CONFIG_SYS_CLK_FREQ. To do this * replace all occurrences of CONFIG_83XX_CLKIN with CONFIG_SYS_CLK_FREQ * set CONFIG_SYS_CLK_FREQ to the old value of CONFIG_83XX_CLKIN in all MPC83xx config files Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'include/configs/vme8349.h')
-rw-r--r--include/configs/vme8349.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/configs/vme8349.h b/include/configs/vme8349.h
index ea08058752..c5086958ff 100644
--- a/include/configs/vme8349.h
+++ b/include/configs/vme8349.h
@@ -26,21 +26,12 @@
#undef CONFIG_MPC83XX_PCI2 /* support for 2nd PCI controller */
#define CONFIG_PCI_66M
-#ifdef CONFIG_PCI_66M
-#define CONFIG_83XX_CLKIN 66000000 /* in Hz */
-#else
-#define CONFIG_83XX_CLKIN 33000000 /* in Hz */
-#endif
-#ifndef CONFIG_SYS_CLK_FREQ
#ifdef CONFIG_PCI_66M
-#define CONFIG_SYS_CLK_FREQ 66000000
#define HRCWL_CSB_TO_CLKIN HRCWL_CSB_TO_CLKIN_4X1
#else
-#define CONFIG_SYS_CLK_FREQ 33000000
#define HRCWL_CSB_TO_CLKIN HRCWL_CSB_TO_CLKIN_8X1
#endif
-#endif
#define CONFIG_SYS_IMMR 0xE0000000