diff options
author | Andy Fleming <afleming@freescale.com> | 2008-02-13 18:36:27 -0600 |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-02-13 18:36:27 -0600 |
commit | d1bcf9e53b41dfa4be6943b739ee82627a0a6d31 (patch) | |
tree | 981e6e8d1b9f40e566d97340fcd0c20740cabe78 /drivers/spi | |
parent | ed2cf548cac80cd3cf8154dcfe7b2685bef45938 (diff) | |
parent | 10bbb38a402a2faf18858c451bcdc63d45888e6e (diff) | |
download | u-boot-imx-d1bcf9e53b41dfa4be6943b739ee82627a0a6d31.zip u-boot-imx-d1bcf9e53b41dfa4be6943b739ee82627a0a6d31.tar.gz u-boot-imx-d1bcf9e53b41dfa4be6943b739ee82627a0a6d31.tar.bz2 |
Merge branch 'denx'
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/mpc8xxx_spi.c | 4 |
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 */ |