summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-02-12 00:53:56 +0100
committerWolfgang Denk <wd@denx.de>2008-02-12 00:53:56 +0100
commit4c309625e796f953f1af54d3b09f8b9d6d9fdc00 (patch)
treeb30f3c8e879d5c62503eecfa53f8dbd86c5bab1c /drivers
parent63f732d3d3880feb531f48af247c025bf01462b0 (diff)
parent7047b388876e7b905b2ec4edb8010543e3641b85 (diff)
downloadu-boot-imx-4c309625e796f953f1af54d3b09f8b9d6d9fdc00.zip
u-boot-imx-4c309625e796f953f1af54d3b09f8b9d6d9fdc00.tar.gz
u-boot-imx-4c309625e796f953f1af54d3b09f8b9d6d9fdc00.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/mpc8xxx_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c
index a3d1c95..2fe838c 100644
--- a/drivers/spi/mpc8xxx_spi.c
+++ b/drivers/spi/mpc8xxx_spi.c
@@ -22,11 +22,11 @@
*/
#include <common.h>
+#if defined(CONFIG_MPC8XXX_SPI) && defined(CONFIG_HARD_SPI)
+
#include <spi.h>
#include <asm/mpc8xxx_spi.h>
-#ifdef CONFIG_HARD_SPI
-
#define SPI_EV_NE (0x80000000 >> 22) /* Receiver Not Empty */
#define SPI_EV_NF (0x80000000 >> 23) /* Transmitter Not Full */