summaryrefslogtreecommitdiffstats
path: root/board/bf537-stamp/spi_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bf537-stamp/spi_flash.c')
-rw-r--r--board/bf537-stamp/spi_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/bf537-stamp/spi_flash.c b/board/bf537-stamp/spi_flash.c
index 7c73ddd720..11a2803e6f 100644
--- a/board/bf537-stamp/spi_flash.c
+++ b/board/bf537-stamp/spi_flash.c
@@ -412,7 +412,7 @@ void spi_init_f(void)
*/
void spi_init_r(void)
{
-#if defined(CONFIG_POST) && (CONFIG_POST & CFG_POST_SPI)
+#if defined(CONFIG_POST) && (CONFIG_POST & CONFIG_SYS_POST_SPI)
/* Our testing strategy here is pretty basic:
* - fill src memory with an 8-bit pattern
* - write the src memory to the SPI flash
OpenPOWER on IntegriCloud