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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user