From 74037658c66c415191ab5eacfdd737310bcc9397 Mon Sep 17 00:00:00 2001 From: Suguru Saito Date: Sun, 21 Mar 2021 21:59:31 +0900 Subject: [PATCH] sharp: add generation config --- board/sharp/common/Kconfig | 12 ++++++++++++ board/sharp/pwg5300/Kconfig | 2 ++ board/sharp/pwsh1/Kconfig | 2 ++ board/sharp/pwsh2/Kconfig | 2 ++ board/sharp/pwsh3/Kconfig | 2 ++ board/sharp/pwsh4/Kconfig | 2 ++ board/sharp/pwsh5/Kconfig | 2 ++ board/sharp/pwsh6/Kconfig | 2 ++ 8 files changed, 26 insertions(+) diff --git a/board/sharp/common/Kconfig b/board/sharp/common/Kconfig index e69de29bb2..458dcdffd2 100644 --- a/board/sharp/common/Kconfig +++ b/board/sharp/common/Kconfig @@ -0,0 +1,12 @@ +config BRAIN_2G + bool + default y if TARGET_PWG5300 + +config BRAIN_3G + bool + default y if TARGET_PWSH1 || TARGET_PWSH2 + +config BRAIN_4G + bool + default y if TARGET_PWSH3 || TARGET_PWSH4 || TARGET_PWSH5 || \ + TARGET_PWSH6 \ No newline at end of file diff --git a/board/sharp/pwg5300/Kconfig b/board/sharp/pwg5300/Kconfig index 13b9645ad7..e0f8ff10e0 100644 --- a/board/sharp/pwg5300/Kconfig +++ b/board/sharp/pwg5300/Kconfig @@ -13,3 +13,5 @@ config SYS_CONFIG_NAME default "pwg5300" endif + +source "board/sharp/common/Kconfig" \ No newline at end of file diff --git a/board/sharp/pwsh1/Kconfig b/board/sharp/pwsh1/Kconfig index e7d27b1a52..cc16db66d7 100644 --- a/board/sharp/pwsh1/Kconfig +++ b/board/sharp/pwsh1/Kconfig @@ -13,3 +13,5 @@ config SYS_CONFIG_NAME default "pwsh1" endif + +source "board/sharp/common/Kconfig" \ No newline at end of file diff --git a/board/sharp/pwsh2/Kconfig b/board/sharp/pwsh2/Kconfig index 381261ef90..07beced05a 100644 --- a/board/sharp/pwsh2/Kconfig +++ b/board/sharp/pwsh2/Kconfig @@ -13,3 +13,5 @@ config SYS_CONFIG_NAME default "pwsh2" endif + +source "board/sharp/common/Kconfig" \ No newline at end of file diff --git a/board/sharp/pwsh3/Kconfig b/board/sharp/pwsh3/Kconfig index 6c7d47a382..4cecdab32e 100644 --- a/board/sharp/pwsh3/Kconfig +++ b/board/sharp/pwsh3/Kconfig @@ -13,3 +13,5 @@ config SYS_CONFIG_NAME default "pwsh3" endif + +source "board/sharp/common/Kconfig" \ No newline at end of file diff --git a/board/sharp/pwsh4/Kconfig b/board/sharp/pwsh4/Kconfig index b8d556f7df..14efbe960d 100644 --- a/board/sharp/pwsh4/Kconfig +++ b/board/sharp/pwsh4/Kconfig @@ -13,3 +13,5 @@ config SYS_CONFIG_NAME default "pwsh4" endif + +source "board/sharp/common/Kconfig" \ No newline at end of file diff --git a/board/sharp/pwsh5/Kconfig b/board/sharp/pwsh5/Kconfig index 5e75c4f8ec..5d48af3c85 100644 --- a/board/sharp/pwsh5/Kconfig +++ b/board/sharp/pwsh5/Kconfig @@ -13,3 +13,5 @@ config SYS_CONFIG_NAME default "pwsh5" endif + +source "board/sharp/common/Kconfig" \ No newline at end of file diff --git a/board/sharp/pwsh6/Kconfig b/board/sharp/pwsh6/Kconfig index 58335115cd..951be07ebf 100644 --- a/board/sharp/pwsh6/Kconfig +++ b/board/sharp/pwsh6/Kconfig @@ -13,3 +13,5 @@ config SYS_CONFIG_NAME default "pwsh6" endif + +source "board/sharp/common/Kconfig" \ No newline at end of file