summaryrefslogtreecommitdiff
path: root/include/configs/microblaze-generic.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-07-17 14:49:33 +0200
committerMichal Simek <michal.simek@xilinx.com>2018-07-19 10:49:56 +0200
commitf4da871a7f09540557792ea5da688c54790add7d (patch)
tree449e7a5b9d3c677e1021901450a95b2d3d49a375 /include/configs/microblaze-generic.h
parent0bd83060c2b01331f1b989433bc400b5bf002f9f (diff)
microblaze: Remove XILINX_SPI_FLASH_BASEADDR logic
XILINX_SPI_FLASH_BASEADDR logic has been converted to DM that's why there is no reason to depend on this address anymore. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/microblaze-generic.h')
-rw-r--r--include/configs/microblaze-generic.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 5eab2e5a38..d6a0f5aa9d 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -19,16 +19,10 @@
#undef SPIFLASH
#undef RAMENV /* hold environment in flash */
#else
-#ifdef XILINX_SPI_FLASH_BASEADDR
-#undef FLASH
-#define SPIFLASH
-#undef RAMENV /* hold environment in flash */
-#else
#undef FLASH
#undef SPIFLASH
#define RAMENV /* hold environment in RAM */
#endif
-#endif
/* uart */
/* The following table includes the supported baudrates */
@@ -91,7 +85,6 @@
#else /* !FLASH */
#ifdef SPIFLASH
-# define CONFIG_SYS_SPI_BASE XILINX_SPI_FLASH_BASEADDR
# define CONFIG_SF_DEFAULT_MODE SPI_MODE_3
# define CONFIG_SF_DEFAULT_SPEED XILINX_SPI_FLASH_MAX_FREQ
# define CONFIG_SF_DEFAULT_CS XILINX_SPI_FLASH_CS