summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2008-01-17 12:48:00 -0600
committerKim Phillips <kim.phillips@freescale.com>2008-01-17 14:01:59 -0600
commit2956acd5ef93a498337f8ac2ec6ae6a77d491dc5 (patch)
tree55ad463e8180bb5bc3a461440bd419ab37fea03d /include
parent80ddd22626d321a772ebfba304eb7830cb4f6bac (diff)
downloadu-boot-imx-2956acd5ef93a498337f8ac2ec6ae6a77d491dc5.zip
u-boot-imx-2956acd5ef93a498337f8ac2ec6ae6a77d491dc5.tar.gz
u-boot-imx-2956acd5ef93a498337f8ac2ec6ae6a77d491dc5.tar.bz2
codingstyle cleanup for spi driver
..and rm unused CONFIG_FSL_SPI define Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/mpc8xxx_spi.h3
-rw-r--r--include/configs/MPC8349EMDS.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/include/asm-ppc/mpc8xxx_spi.h b/include/asm-ppc/mpc8xxx_spi.h
index 38f12b9..053d11e 100644
--- a/include/asm-ppc/mpc8xxx_spi.h
+++ b/include/asm-ppc/mpc8xxx_spi.h
@@ -32,8 +32,7 @@
defined(CONFIG_MPC8315) || \
defined(CONFIG_MPC837X)
-typedef struct spi8xxx
-{
+typedef struct spi8xxx {
u8 res0[0x20]; /* 0x0-0x01f reserved */
u32 mode; /* mode register */
u32 event; /* event register */
diff --git a/include/configs/MPC8349EMDS.h b/include/configs/MPC8349EMDS.h
index 584c59d..07f2f30 100644
--- a/include/configs/MPC8349EMDS.h
+++ b/include/configs/MPC8349EMDS.h
@@ -356,9 +356,8 @@
#define CFG_I2C2_OFFSET 0x3100
/* SPI */
-#define CONFIG_HARD_SPI /* SPI with hardware support*/
+#define CONFIG_HARD_SPI /* SPI with hardware support */
#undef CONFIG_SOFT_SPI /* SPI bit-banged */
-#define CONFIG_FSL_SPI
/* GPIOs. Used as SPI chip selects */
#define CFG_GPIO1_PRELIM