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 /drivers/mtd | |
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 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/raw/fsl_elbc_spl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/fsl_elbc_spl.c b/drivers/mtd/nand/raw/fsl_elbc_spl.c index 30c3308..099d864 100644 --- a/drivers/mtd/nand/raw/fsl_elbc_spl.c +++ b/drivers/mtd/nand/raw/fsl_elbc_spl.c @@ -14,6 +14,10 @@ #include <asm/fsl_lbc.h> #include <nand.h> +#ifdef CONFIG_MPC83xx +#include "../../../arch/powerpc/cpu/mpc83xx/elbc/elbc.h" +#endif + #define WINDOW_SIZE 8192 static void nand_wait(void) |