summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMingkai Hu <Mingkai.hu@freescale.com>2011-04-26 16:31:16 +0800
committerKumar Gala <galak@kernel.crashing.org>2011-04-29 07:34:09 -0500
commit273feafefdde6a04cabc0389c7a68f7d7706e990 (patch)
tree497c07cf7615a8113e93c9ec0ab25008528b3f74 /arch
parent40ac3d462d2927fdf45263d360bcc275de452be6 (diff)
downloadu-boot-imx-273feafefdde6a04cabc0389c7a68f7d7706e990.zip
u-boot-imx-273feafefdde6a04cabc0389c7a68f7d7706e990.tar.gz
u-boot-imx-273feafefdde6a04cabc0389c7a68f7d7706e990.tar.bz2
powerpc: eSPI and eSPI controller support
Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com> Singed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com> Signed-off-by: Shaohui Xie <b21989@freescale.com> Cc: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/config.h b/arch/powerpc/include/asm/config.h
index 624d8c2..9aad9be 100644
--- a/arch/powerpc/include/asm/config.h
+++ b/arch/powerpc/include/asm/config.h
@@ -29,6 +29,13 @@
#include <asm/config_mpc86xx.h>
#endif
+/* CONFIG_HARD_SPI triggers SPI bus initialization in PowerPC */
+#if defined(CONFIG_MPC8XXX_SPI) || defined(CONFIG_FSL_ESPI)
+# ifndef CONFIG_HARD_SPI
+# define CONFIG_HARD_SPI
+# endif
+#endif
+
#define CONFIG_LMB
#define CONFIG_SYS_BOOT_RAMDISK_HIGH
#define CONFIG_SYS_BOOT_GET_CMDLINE