mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-31 19:41:46 +00:00
ARM: tegra: remove custom define for Jetson TK1
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>
This commit is contained in:
parent
24d4d422c1
commit
a78cf41e79
2 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
#define AS3722_LDO6VOLTAGE_REG 0x16 /* VDD_SDMMC */
|
#define AS3722_LDO6VOLTAGE_REG 0x16 /* VDD_SDMMC */
|
||||||
#define AS3722_LDCONTROL_REG 0x4E
|
#define AS3722_LDCONTROL_REG 0x4E
|
||||||
|
|
||||||
#ifdef CONFIG_BOARD_JETSON_TK1
|
#ifdef CONFIG_TARGET_JETSON_TK1
|
||||||
#define AS3722_SD0VOLTAGE_DATA (0x3C00 | AS3722_SD0VOLTAGE_REG)
|
#define AS3722_SD0VOLTAGE_DATA (0x3C00 | AS3722_SD0VOLTAGE_REG)
|
||||||
#else
|
#else
|
||||||
#define AS3722_SD0VOLTAGE_DATA (0x2800 | AS3722_SD0VOLTAGE_REG)
|
#define AS3722_SD0VOLTAGE_DATA (0x2800 | AS3722_SD0VOLTAGE_REG)
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
CONFIG_SPL=y
|
CONFIG_SPL=y
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="BOARD_JETSON_TK1="
|
|
||||||
+S:CONFIG_ARM=y
|
+S:CONFIG_ARM=y
|
||||||
+S:CONFIG_TARGET_JETSON_TK1=y
|
+S:CONFIG_TARGET_JETSON_TK1=y
|
||||||
|
|
Loading…
Add table
Reference in a new issue