ve8313: Merge BR/OR settings
authorMario Six <mario.six@gdsys.cc>
Mon, 21 Jan 2019 08:17:42 +0000 (09:17 +0100)
committerMario Six <mario.six@gdsys.cc>
Tue, 21 May 2019 05:51:40 +0000 (07:51 +0200)
commit1e35d425d14b2ceb5136aea9fe1b53cdebd66a75
treec0cd3525710d78b4be369c60ef86ecd1ba9a3d61
parent7577cb19fc229ebd2a20e1cb8a94a2b423d4f0cf
ve8313: Merge BR/OR settings

The ve8313 has the option of either configuring the eLBC (enhanced local system bus) such that

* NOR flash is the first memory bank, and NAND flash is the second memory bank, or
* NAND flash is the first memory bank, and NOR flash is the second memory bank,

by using CONFIG_SYS_NOR_{BR,OR}_PRELIM and
CONFIG_SYS_NAND_{BR,OR}_PRELIM for defining
CONFIG_SYS_{BR,OR}{0,1}_PRELIM.

After Kconfig migration, replacing some lines in the defconfig will have
the same effect.

Hence, we will not create distinct ve8313_{NOR,NAND} configs for such a
small change.

Instead, fix the current default (NOR first, NAND second), and unroll
the  CONFIG_SYS_NAND_{BR,OR}_PRELIM options. This will ease the Kconfig
migration

Signed-off-by: Mario Six <mario.six@gdsys.cc>
include/configs/ve8313.h