ARM: tegra: remove custom define for Jetson TK1
authorStephen Warren <swarren@nvidia.com>
Thu, 31 Jul 2014 23:29:38 +0000 (17:29 -0600)
committerTom Warren <twarren@nvidia.com>
Tue, 19 Aug 2014 15:44:03 +0000 (08:44 -0700)
Now that Kconfig has a per-board option, we can use that directly rather
than inventing a custom define for the AS3722 code to determine which
board it's being built for.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/nvidia/venice2/as3722_init.h
configs/jetson-tk1_defconfig

index a7b24039f6aac2713806834eea0bfa0583cdd5ff..06c366e0d0d85ea63564457d89c0a39de360cef2 100644 (file)
@@ -18,7 +18,7 @@
 #define AS3722_LDO6VOLTAGE_REG 0x16    /* VDD_SDMMC */
 #define AS3722_LDCONTROL_REG   0x4E
 
-#ifdef CONFIG_BOARD_JETSON_TK1
+#ifdef CONFIG_TARGET_JETSON_TK1
 #define AS3722_SD0VOLTAGE_DATA (0x3C00 | AS3722_SD0VOLTAGE_REG)
 #else
 #define AS3722_SD0VOLTAGE_DATA (0x2800 | AS3722_SD0VOLTAGE_REG)
index 9ce97c9f61b23ab77f6ad2c80c5b622de3d2fd3b..6926257d894b736bc4bc3d56a1ad24b845b8c0f2 100644 (file)
@@ -1,4 +1,3 @@
 CONFIG_SPL=y
-CONFIG_SYS_EXTRA_OPTIONS="BOARD_JETSON_TK1="
 +S:CONFIG_ARM=y
 +S:CONFIG_TARGET_JETSON_TK1=y