Commit 8b8ca0d7d82d44c5e4c0d8adad5c2bc229e3f297

Authored by Stefan Roese
Committed by Stefano Babic
1 parent ba44d9bd50

arm: mx6: Remove SPI support from WRU-IV baseboard

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>

Showing 3 changed files with 9 additions and 1 deletions Side-by-side Diff

board/tqc/tqma6/tqma6.c
... ... @@ -25,6 +25,7 @@
25 25 #include <mmc.h>
26 26 #include <power/pfuze100_pmic.h>
27 27 #include <power/pmic.h>
  28 +#include <spi_flash.h>
28 29  
29 30 #include "tqma6_bb.h"
30 31  
configs/tqma6s_wru4_mmc_defconfig
... ... @@ -7,6 +7,5 @@
7 7 CONFIG_AUTOBOOT_PROMPT="Enter password in %d seconds to stop autoboot\n"
8 8 CONFIG_AUTOBOOT_ENCRYPTION=y
9 9 CONFIG_AUTOBOOT_STOP_STR_SHA256="36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068"
10   -CONFIG_SPI_FLASH=y
11 10 CONFIG_PCA9551_LED=y
include/configs/tqma6_wru4.h
... ... @@ -68,5 +68,13 @@
68 68 #define CONFIG_SYS_BOOTCOUNT_ADDR IRAM_BASE_ADDR
69 69 #define CONFIG_SYS_BOOTCOUNT_BE
70 70  
  71 +/*
  72 + * Remove all unused interfaces / commands that are defined in
  73 + * the common header tqms6.h
  74 + */
  75 +#undef CONFIG_CMD_SF
  76 +#undef CONFIG_CMD_SPI
  77 +#undef CONFIG_MXC_SPI
  78 +
71 79 #endif /* __CONFIG_TQMA6_WRU4_H */