mpc83xx: Make distinct MPC8313ERDB targets

MPC8313ERDB has the option of either enabling NOR or NAND boot in its
config file (by commenting out certain #ifdefs). To keep this ability
after migrating options to Kconfig, we introduce two MPC8313ERDB
configs: one for NOR, and one for NAND.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
This commit is contained in:
Mario Six
2019-01-21 09:17:36 +01:00
parent 009c87a2ab
commit 16aaca214e
8 changed files with 633 additions and 54 deletions

View File

@@ -1,4 +1,4 @@
if TARGET_MPC8313ERDB
if TARGET_MPC8313ERDB_NOR
config SYS_BOARD
default "mpc8313erdb"
@@ -7,6 +7,19 @@ config SYS_VENDOR
default "freescale"
config SYS_CONFIG_NAME
default "MPC8313ERDB"
default "MPC8313ERDB_NOR"
endif
if TARGET_MPC8313ERDB_NAND
config SYS_BOARD
default "mpc8313erdb"
config SYS_VENDOR
default "freescale"
config SYS_CONFIG_NAME
default "MPC8313ERDB_NAND"
endif