Skip to contentSkip to conversation

x86: tangier: kconfig: Guard tangier-specific options

PATCH New Bin Meng 2 participants 3 messages Aug 20, 2017 – Aug 24, 2017 x86

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 x86: tangier: kconfig: Guard tangier-specific options

These options should not be exposed to other platforms.

---

 arch/x86/cpu/tangier/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/x86/cpu/tangier/Kconfig +4 -0
index 86a3340..2469b1e 100644
@@ -16,6 +16,8 @@ config INTEL_TANGIER
 	imply USB
 	imply USB_DWC3
 
+if INTEL_TANGIER
+
 config SYS_CAR_ADDR
 	hex
 	default 0x19200000
@@ -30,3 +32,5 @@ config SYS_CAR_SIZE
 config SYS_USB_OTG_BASE
 	hex
 	default 0xf9100000
+
+endif
Signature · 1 line
2.9.2
#1 lore raw

PATCH 1/1 x86: tangier: kconfig: Guard tangier-specific options

Quoted 2 lines · Bin Meng

These options should not be exposed to other platforms.

Fair enough.
Thanks for taking care of this!

Quoted 26 lines

---

 arch/x86/cpu/tangier/Kconfig | 4 ++++

 1 file changed, 4 insertions(+)
arch/x86/cpu/tangier/Kconfig +0 -0
index 86a3340..2469b1e 100644
@@ -16,6 +16,8 @@ config INTEL_TANGIER

  imply USB
  imply USB_DWC3

arch/x86/cpu/tangier/Kconfig +2 -0
+if INTEL_TANGIER
+

 config SYS_CAR_ADDR
  hex
  default 0x19200000

arch/x86/cpu/tangier/Kconfig +0 -0
@@ -30,3 +32,5 @@ config SYS_CAR_SIZE

 config SYS_USB_OTG_BASE
  hex
  default 0xf9100000

arch/x86/cpu/tangier/Kconfig +2 -0
+
+endif
Signature · 2 lines
Andy Shevchenko <[email protected]>
Intel Finland Oy
author
#2 lore raw

PATCH 1/1 x86: tangier: kconfig: Guard tangier-specific options

Quoted 8 lines · Andy Shevchenko
Quoted 2 lines · Bin Meng

These options should not be exposed to other platforms.

Fair enough.
Thanks for taking care of this!

applied to u-boot-x86, thanks!