[U-Boot] [PATCH] x86: tangier: kconfig: Guard tangier-specific options

These options should not be exposed to other platforms.
Signed-off-by: Bin Meng bmeng.cn@gmail.com ---
arch/x86/cpu/tangier/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/arch/x86/cpu/tangier/Kconfig b/arch/x86/cpu/tangier/Kconfig index 86a3340..2469b1e 100644 --- a/arch/x86/cpu/tangier/Kconfig +++ b/arch/x86/cpu/tangier/Kconfig @@ -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

On Sun, 2017-08-20 at 04:33 -0700, Bin Meng wrote:
These options should not be exposed to other platforms.
Fair enough. Thanks for taking care of this!
Acked-by: Andy Shevchenko andriy.shevchenko@linux.intel.com
Signed-off-by: Bin Meng bmeng.cn@gmail.com
arch/x86/cpu/tangier/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/arch/x86/cpu/tangier/Kconfig b/arch/x86/cpu/tangier/Kconfig index 86a3340..2469b1e 100644 --- a/arch/x86/cpu/tangier/Kconfig +++ b/arch/x86/cpu/tangier/Kconfig @@ -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

On Mon, Aug 21, 2017 at 5:08 PM, Andy Shevchenko andriy.shevchenko@linux.intel.com wrote:
On Sun, 2017-08-20 at 04:33 -0700, Bin Meng wrote:
These options should not be exposed to other platforms.
Fair enough. Thanks for taking care of this!
Acked-by: Andy Shevchenko andriy.shevchenko@linux.intel.com
applied to u-boot-x86, thanks!
participants (2)
-
Andy Shevchenko
-
Bin Meng