summaryrefslogtreecommitdiff
path: root/arch/sandbox/include/asm/config.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-12-10 09:36:23 -0500
committerTom Rini <trini@ti.com>2013-12-10 09:36:23 -0500
commit65b7fe28a12bbaccc7a0c076f5f9f213150030e7 (patch)
tree96be894262501d04c9bb637a837180b7708e49e8 /arch/sandbox/include/asm/config.h
parente1e3de79515b95712a41f52c86a0181530f2fc03 (diff)
parentca9a501953ce945da8e76d86a0ddf070a7f729b8 (diff)
downloadolio-uboot-2014.01-65b7fe28a12bbaccc7a0c076f5f9f213150030e7.tar.xz
olio-uboot-2014.01-65b7fe28a12bbaccc7a0c076f5f9f213150030e7.zip
Merge branch 'spi' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/sandbox/include/asm/config.h')
-rw-r--r--arch/sandbox/include/asm/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/config.h b/arch/sandbox/include/asm/config.h
index 7755a4def..ec7729eb4 100644
--- a/arch/sandbox/include/asm/config.h
+++ b/arch/sandbox/include/asm/config.h
@@ -9,4 +9,12 @@
#define CONFIG_SANDBOX_ARCH
+/* Used by drivers/spi/sandbox_spi.c and arch/sandbox/include/asm/state.h */
+#ifndef CONFIG_SANDBOX_SPI_MAX_BUS
+#define CONFIG_SANDBOX_SPI_MAX_BUS 1
+#endif
+#ifndef CONFIG_SANDBOX_SPI_MAX_CS
+#define CONFIG_SANDBOX_SPI_MAX_CS 10
+#endif
+
#endif