summaryrefslogtreecommitdiffstats
path: root/board/sunxi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-08-01 09:28:24 +0200
committerHans de Goede <hdegoede@redhat.com>2014-08-12 08:40:12 +0200
commit6ae66f2e892b61eda9199f5a3869b5c5c3f5544a (patch)
tree9a51022a3f7724433ed34fc66ea6bf3434bc84e2 /board/sunxi
parentb9fb3b94cbb76884df4e8425abc2a95bb7aa6a56 (diff)
downloadblackbird-obmc-uboot-6ae66f2e892b61eda9199f5a3869b5c5c3f5544a.tar.gz
blackbird-obmc-uboot-6ae66f2e892b61eda9199f5a3869b5c5c3f5544a.zip
sunxi: Kconfig: move common settings into a shared code block
SYS_CPU, SYS_BOARD and SYS_SOC are identical for all sunxi boards, move them to a shared code block. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board/sunxi')
-rw-r--r--board/sunxi/Kconfig32
1 files changed, 6 insertions, 26 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index b06b5e0548..24cca4747b 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -1,17 +1,5 @@
if TARGET_SUN4I
-config SYS_CPU
- string
- default "armv7"
-
-config SYS_BOARD
- string
- default "sunxi"
-
-config SYS_SOC
- string
- default "sunxi"
-
config SYS_CONFIG_NAME
string
default "sun4i"
@@ -20,25 +8,21 @@ endif
if TARGET_SUN5I
-config SYS_CPU
+config SYS_CONFIG_NAME
string
- default "armv7"
+ default "sun5i"
-config SYS_BOARD
- string
- default "sunxi"
+endif
-config SYS_SOC
- string
- default "sunxi"
+if TARGET_SUN7I
config SYS_CONFIG_NAME
string
- default "sun5i"
+ default "sun7i"
endif
-if TARGET_SUN7I
+if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN7I
config SYS_CPU
string
@@ -52,8 +36,4 @@ config SYS_SOC
string
default "sunxi"
-config SYS_CONFIG_NAME
- string
- default "sun7i"
-
endif
OpenPOWER on IntegriCloud