diff options
author | Mario Six <mario.six@gdsys.cc> | 2019-01-21 09:18:03 +0100 |
---|---|---|
committer | Mario Six <mario.six@gdsys.cc> | 2019-05-21 07:52:33 +0200 |
commit | fe7d654d04a4ba87813dcf8acb7a17373029770d (patch) | |
tree | acff08e60a356274b602f42d44a975b7a279eca2 /arch/powerpc/cpu/mpc8xxx/fsl_lbc.c | |
parent | daac2086ce1a36ffbd603eb643f45d14faae40e7 (diff) | |
download | u-boot-fe7d654d04a4ba87813dcf8acb7a17373029770d.zip u-boot-fe7d654d04a4ba87813dcf8acb7a17373029770d.tar.gz u-boot-fe7d654d04a4ba87813dcf8acb7a17373029770d.tar.bz2 |
mpc83xx: Migrate CONFIG_SYS_{BR, OR}*_PRELIM to Kconfig
Migrate the BR/OR settings to Kconfig. These must be known at compile
time, so cannot be configured via DT.
Configuration of this crucial variable should still be somewhat
comfortable. Hence, make its fields configurable in Kconfig, and
assemble the final value from these.
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'arch/powerpc/cpu/mpc8xxx/fsl_lbc.c')
-rw-r--r-- | arch/powerpc/cpu/mpc8xxx/fsl_lbc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c b/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c index 13545fc..c43732f 100644 --- a/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c +++ b/arch/powerpc/cpu/mpc8xxx/fsl_lbc.c @@ -6,6 +6,10 @@ #include <common.h> #include <asm/fsl_lbc.h> +#ifdef CONFIG_MPC83xx +#include "../mpc83xx/elbc/elbc.h" +#endif + #ifdef CONFIG_MPC85xx /* Boards should provide their own version of this if they use lbc sdram */ static void __lbc_sdram_init(void) |