]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sunxi-common.h: Don't undef CONFIG_CMD_NET only to redefine it again later
authorHans de Goede <hdegoede@redhat.com>
Fri, 1 Aug 2014 07:19:55 +0000 (09:19 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 12 Aug 2014 06:40:12 +0000 (08:40 +0200)
config_distro_defaults.h which is include later will redefine CONFIG_CMD_NET,
drop the useless / meaningless undef of it.

While at also move the undef of CONFIG_CMD_FPGA up to directly under the
include of config_cmd_defaults.h, to make it clear that it overwrites
the setting done from config_cmd_defaults.h .

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
include/configs/sunxi-common.h

index cbe8b403f2552eba6d9a7358fe4dc3ae40bf60ad..4c712f35eae81904b1a103bdc85cd53a3b97fb18 100644 (file)
        "bootm_size=0x10000000\0"
 
 #include <config_cmd_default.h>
+#undef CONFIG_CMD_FPGA
 
 #define CONFIG_FAT_WRITE       /* enable write access */
 
 #define CONFIG_SYS_SPL_MALLOC_START    0x4ff00000
 #define CONFIG_SYS_SPL_MALLOC_SIZE     0x00080000      /* 512 KiB */
 
-#undef CONFIG_CMD_FPGA
-#undef CONFIG_CMD_NET
-
 /* I2C */
 #define CONFIG_SPL_I2C_SUPPORT
 #define CONFIG_SYS_I2C