]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mx6: Remove SPI support from WRU-IV baseboard
authorStefan Roese <sr@denx.de>
Wed, 5 Aug 2015 08:50:50 +0000 (10:50 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 2 Sep 2015 13:26:11 +0000 (15:26 +0200)
This patch removes the SPI support from the WRU-IV baseboard as its
not used at all.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Cc: Markus Niebel <Markus.Niebel@tq-group.com>
Cc: Stefano Babic <sbabic@denx.de>
Tested-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
board/tqc/tqma6/tqma6.c
configs/tqma6s_wru4_mmc_defconfig
include/configs/tqma6_wru4.h

index 29db838490e1f266b3bd1e11a0911cb375a6086e..8656782d869c7eaa9566edab8a8b103275dc5be7 100644 (file)
@@ -25,6 +25,7 @@
 #include <mmc.h>
 #include <power/pfuze100_pmic.h>
 #include <power/pmic.h>
+#include <spi_flash.h>
 
 #include "tqma6_bb.h"
 
index c9a304d8c01a97c5af3d6a896f1128a612707015..e30b130c14e75799bae1b83467797b9b4a5ddacb 100644 (file)
@@ -7,5 +7,4 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Enter password in %d seconds to stop autoboot\n"
 CONFIG_AUTOBOOT_ENCRYPTION=y
 CONFIG_AUTOBOOT_STOP_STR_SHA256="36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068"
-CONFIG_SPI_FLASH=y
 CONFIG_PCA9551_LED=y
index 1c86bc07019b615f2b22514bb345332419cb5401..1330a0a591abfbe265805e761970ee53ae94930f 100644 (file)
 #define CONFIG_SYS_BOOTCOUNT_ADDR      IRAM_BASE_ADDR
 #define CONFIG_SYS_BOOTCOUNT_BE
 
+/*
+ * Remove all unused interfaces / commands that are defined in
+ * the common header tqms6.h
+ */
+#undef CONFIG_CMD_SF
+#undef CONFIG_CMD_SPI
+#undef CONFIG_MXC_SPI
+
 #endif /* __CONFIG_TQMA6_WRU4_H */