diff mbox

[v2,1/6] arm64: Enable Hisilicon ARMv8 SoC family in Kconfig and defconfig

Message ID 1428916660-25910-2-git-send-email-bintian.wang@huawei.com (mailing list archive)
State New, archived
Headers show

Commit Message

Bintian Wang April 13, 2015, 9:17 a.m. UTC
This patch introduces ARCH_HISI to enable Hisilicon SoC family in
Kconfig and defconfig.

Signed-off-by: Bintian Wang <bintian.wang@huawei.com>
Reviewed-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Reviewed-by: Wei Xu <xuwei5@hisilicon.com>
---
 arch/arm64/Kconfig           | 5 +++++
 arch/arm64/configs/defconfig | 1 +
 2 files changed, 6 insertions(+)

Comments

Kevin Hilman April 20, 2015, 9:10 p.m. UTC | #1
Bintian Wang <bintian.wang@huawei.com> writes:

> This patch introduces ARCH_HISI to enable Hisilicon SoC family in
> Kconfig and defconfig.
>
> Signed-off-by: Bintian Wang <bintian.wang@huawei.com>
> Reviewed-by: Haojian Zhuang <haojian.zhuang@linaro.org>
> Reviewed-by: Wei Xu <xuwei5@hisilicon.com>

[...]

> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index be1f12a..36ebd9b 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -36,6 +36,7 @@ CONFIG_ARCH_MEDIATEK=y
>  CONFIG_ARCH_THUNDER=y
>  CONFIG_ARCH_VEXPRESS=y
>  CONFIG_ARCH_XGENE=y
> +CONFIG_ARCH_HISI=y

nit: please keep CONFIG_ARCH_* sorted alphabetically.

Thanks,

Kevin
Bintian Wang April 21, 2015, 12:39 a.m. UTC | #2
Hello Kevin,

On 2015/4/21 5:10, Kevin Hilman wrote:
> Bintian Wang <bintian.wang@huawei.com> writes:
>
>> This patch introduces ARCH_HISI to enable Hisilicon SoC family in
>> Kconfig and defconfig.
>>
>> Signed-off-by: Bintian Wang <bintian.wang@huawei.com>
>> Reviewed-by: Haojian Zhuang <haojian.zhuang@linaro.org>
>> Reviewed-by: Wei Xu <xuwei5@hisilicon.com>
>
> [...]
>
>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
>> index be1f12a..36ebd9b 100644
>> --- a/arch/arm64/configs/defconfig
>> +++ b/arch/arm64/configs/defconfig
>> @@ -36,6 +36,7 @@ CONFIG_ARCH_MEDIATEK=y
>>   CONFIG_ARCH_THUNDER=y
>>   CONFIG_ARCH_VEXPRESS=y
>>   CONFIG_ARCH_XGENE=y
>> +CONFIG_ARCH_HISI=y
>
> nit: please keep CONFIG_ARCH_* sorted alphabetically.
Will fix in next version, thanks for helping review.

BR,

Bintian
>
> Thanks,
>
> Kevin
>
> .
>
diff mbox

Patch

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 1b8e973..64d4d6d 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -228,6 +228,11 @@  config ARCH_XGENE
 	help
 	  This enables support for AppliedMicro X-Gene SOC Family
 
+config ARCH_HISI
+	bool "Hisilicon SoC Family"
+	help
+	  This enables support for Hisilicon ARMv8 SoC family
+
 endmenu
 
 menu "Bus support"
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index be1f12a..36ebd9b 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -36,6 +36,7 @@  CONFIG_ARCH_MEDIATEK=y
 CONFIG_ARCH_THUNDER=y
 CONFIG_ARCH_VEXPRESS=y
 CONFIG_ARCH_XGENE=y
+CONFIG_ARCH_HISI=y
 CONFIG_PCI=y
 CONFIG_PCI_MSI=y
 CONFIG_PCI_XGENE=y