Skip to content

Commit

Permalink
sunxi: Kconfig: Unify sunxi Kconfig code
Browse files Browse the repository at this point in the history
Unify the sunxi Kconfig code, instead of having seperate code blocks for
each of sun4i, sun5i and sun7i.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  • Loading branch information
jwrdegoede committed Oct 3, 2014
1 parent 84966ba commit 387033b
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions board/sunxi/Kconfig
@@ -1,25 +1,10 @@
if TARGET_SUN4I

config SYS_CONFIG_NAME
default "sun4i"

endif

if TARGET_SUN5I

config SYS_CONFIG_NAME
default "sun5i"

endif

if TARGET_SUN7I
if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN7I

config SYS_CONFIG_NAME
default "sun7i"

endif

if TARGET_SUN4I || TARGET_SUN5I || TARGET_SUN7I
string
default "sun4i" if TARGET_SUN4I
default "sun5i" if TARGET_SUN5I
default "sun7i" if TARGET_SUN7I

config SYS_CPU
default "armv7"
Expand Down

0 comments on commit 387033b

Please sign in to comment.