Commit ac342866 authored by Andrew F. Davis's avatar Andrew F. Davis Committed by Tom Rini

keystone2: Move target selection to Kconfig

The config option TARGET_K2x_EVM is set by the k2x defconfigs to pick
a board target, but the header configs also set K2x_EVM. This config
is redundant, remove it and use TARGET_K2x_EVM everywhere in its place.
Signed-off-by: default avatarAndrew F. Davis <afd@ti.com>
Reviewed-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent 384b1d50
......@@ -18,5 +18,5 @@ endif
obj-y += msmc.o
obj-y += ddr3.o
obj-y += keystone.o
obj-$(CONFIG_K2E_EVM) += ddr3_spd.o
obj-$(CONFIG_K2HK_EVM) += ddr3_spd.o
obj-$(CONFIG_TARGET_K2E_EVM) += ddr3_spd.o
obj-$(CONFIG_TARGET_K2HK_EVM) += ddr3_spd.o
......@@ -6,12 +6,12 @@
#
obj-y += board.o
obj-$(CONFIG_K2HK_EVM) += board_k2hk.o
obj-$(CONFIG_K2HK_EVM) += ddr3_k2hk.o
obj-$(CONFIG_K2E_EVM) += board_k2e.o
obj-$(CONFIG_K2E_EVM) += ddr3_k2e.o
obj-$(CONFIG_K2L_EVM) += board_k2l.o
obj-$(CONFIG_K2L_EVM) += ddr3_k2l.o
obj-$(CONFIG_K2L_EVM) += ddr3_cfg.o
obj-$(CONFIG_K2G_EVM) += board_k2g.o
obj-$(CONFIG_K2G_EVM) += ddr3_k2g.o
obj-$(CONFIG_TARGET_K2HK_EVM) += board_k2hk.o
obj-$(CONFIG_TARGET_K2HK_EVM) += ddr3_k2hk.o
obj-$(CONFIG_TARGET_K2E_EVM) += board_k2e.o
obj-$(CONFIG_TARGET_K2E_EVM) += ddr3_k2e.o
obj-$(CONFIG_TARGET_K2L_EVM) += board_k2l.o
obj-$(CONFIG_TARGET_K2L_EVM) += ddr3_k2l.o
obj-$(CONFIG_TARGET_K2L_EVM) += ddr3_cfg.o
obj-$(CONFIG_TARGET_K2G_EVM) += board_k2g.o
obj-$(CONFIG_TARGET_K2G_EVM) += ddr3_k2g.o
......@@ -12,7 +12,6 @@
/* Platform type */
#define CONFIG_SOC_K2E
#define CONFIG_K2E_EVM
/* U-Boot general configuration */
#define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \
......
......@@ -12,7 +12,6 @@
/* Platform type */
#define CONFIG_SOC_K2G
#define CONFIG_K2G_EVM
/* U-Boot general configuration */
#define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \
......
......@@ -12,7 +12,6 @@
/* Platform type */
#define CONFIG_SOC_K2HK
#define CONFIG_K2HK_EVM
/* U-Boot general configuration */
#define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \
......
......@@ -12,7 +12,6 @@
/* Platform type */
#define CONFIG_SOC_K2L
#define CONFIG_K2L_EVM
/* U-Boot general configuration */
#define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment