diff mbox

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

Message ID 1503228826-15966-1-git-send-email-bmeng.cn@gmail.com
State Accepted
Commit 438505fe696b176cbf56cd34db870e04027d3531
Delegated to: Bin Meng
Headers show

Commit Message

Bin Meng Aug. 20, 2017, 11:33 a.m. UTC
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(+)

Comments

Andy Shevchenko Aug. 21, 2017, 9:08 a.m. UTC | #1
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
Bin Meng Aug. 24, 2017, 3:18 a.m. UTC | #2
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!
diff mbox

Patch

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