Skip to content

Commit

Permalink
MPC8349ITX: Migrate to CONFIG_TARGET_MPC8349ITX
Browse files Browse the repository at this point in the history
Use the proper CONFIG_TARGET_MPC8349ITX Kconfig option to replace the
CONFIG_MPC8349ITX ad-hoc config option.

Signed-off-by: Mario Six <[email protected]>
  • Loading branch information
si-gdsys committed May 21, 2019
1 parent 8014c16 commit 4cb06d3
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion board/freescale/mpc8349itx/mpc8349itx.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ int dram_init(void)

int checkboard(void)
{
#ifdef CONFIG_MPC8349ITX
#ifdef CONFIG_TARGET_MPC8349ITX
puts("Board: Freescale MPC8349E-mITX\n");
#else
puts("Board: Freescale MPC8349E-mITX-GP\n");
Expand Down
1 change: 0 additions & 1 deletion configs/MPC8349ITX_LOWBOOT_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ CONFIG_MPC83xx=y
CONFIG_TARGET_MPC8349ITX=y
CONFIG_OF_BOARD_SETUP=y
CONFIG_OF_STDOUT_VIA_ALIAS=y
CONFIG_SYS_EXTRA_OPTIONS="MPC8349ITX"
CONFIG_BOOTDELAY=6
CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="root=/dev/nfs rw nfsroot=:/nfsroot/rootfs ip=::::mpc8349emitx:eth0:off console=ttyS0,115200"
Expand Down
1 change: 0 additions & 1 deletion configs/MPC8349ITX_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ CONFIG_MPC83xx=y
CONFIG_TARGET_MPC8349ITX=y
CONFIG_OF_BOARD_SETUP=y
CONFIG_OF_STDOUT_VIA_ALIAS=y
CONFIG_SYS_EXTRA_OPTIONS="MPC8349ITX"
CONFIG_BOOTDELAY=6
CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="root=/dev/nfs rw nfsroot=:/nfsroot/rootfs ip=::::mpc8349emitx:eth0:off console=ttyS0,115200"
Expand Down
4 changes: 2 additions & 2 deletions include/configs/MPC8349ITX.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* On-board devices
*/

#ifdef CONFIG_MPC8349ITX
#ifdef CONFIG_TARGET_MPC8349ITX
/* The CF card interface on the back of the board */
#define CONFIG_COMPACT_FLASH
#define CONFIG_VSC7385_ENET /* VSC7385 ethernet support */
Expand Down Expand Up @@ -642,7 +642,7 @@ boards, we say we have two, but don't display a message if we find only one. */
/* U-Boot image on TFTP server */
#define CONFIG_UBOOTPATH "u-boot.bin"

#ifdef CONFIG_MPC8349ITX
#ifdef CONFIG_TARGET_MPC8349ITX
#define CONFIG_FDTFILE "mpc8349emitx.dtb"
#else
#define CONFIG_FDTFILE "mpc8349emitxgp.dtb"
Expand Down
1 change: 0 additions & 1 deletion scripts/config_whitelist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,6 @@ CONFIG_MMU
CONFIG_MONITOR_IS_IN_RAM
CONFIG_MPC8313ERDB
CONFIG_MPC8315ERDB
CONFIG_MPC8349ITX
CONFIG_MPC837XEMDS
CONFIG_MPC837XERDB
CONFIG_MPC83XX_GPIO
Expand Down

0 comments on commit 4cb06d3

Please sign in to comment.