summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-09-22 22:36:42 +0200
committerWolfgang Denk <wd@denx.de>2010-09-22 22:36:42 +0200
commite6e1fb3050351ae96153b1ba6a5bd0a2d745794b (patch)
tree86ce127f1a1d6fef7e548815f0e232d76b78c259 /drivers
parentd1475d8aab7a6ab7ea7534a98bd20e59f150c2e3 (diff)
parent55fed6fd0b292b37df2a17aeca732194d99440a5 (diff)
downloadu-boot-imx-e6e1fb3050351ae96153b1ba6a5bd0a2d745794b.zip
u-boot-imx-e6e1fb3050351ae96153b1ba6a5bd0a2d745794b.tar.gz
u-boot-imx-e6e1fb3050351ae96153b1ba6a5bd0a2d745794b.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/bfin_spi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/bfin_spi.c b/drivers/spi/bfin_spi.c
index e0ad029..556b97a 100644
--- a/drivers/spi/bfin_spi.c
+++ b/drivers/spi/bfin_spi.c
@@ -35,8 +35,6 @@ MAKE_SPI_FUNC(SPI_BAUD, 0x14)
#define to_bfin_spi_slave(s) container_of(s, struct bfin_spi_slave, slave)
-#define MAX_CTRL_CS 7
-
#define gpio_cs(cs) ((cs) - MAX_CTRL_CS)
#ifdef CONFIG_BFIN_SPI_GPIO_CS
# define is_gpio_cs(cs) ((cs) > MAX_CTRL_CS)