projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-usb
[oweals/u-boot.git]
/
arch
/
sandbox
/
include
/
asm
/
config.h
diff --git
a/arch/sandbox/include/asm/config.h
b/arch/sandbox/include/asm/config.h
index 7755a4defffb8326985f40256602f2a5e985db79..50215b35d7774b6bf76ef35baebcc63a3d2601dd 100644
(file)
--- a/
arch/sandbox/include/asm/config.h
+++ b/
arch/sandbox/include/asm/config.h
@@
-1,7
+1,6
@@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2011 The Chromium OS Authors.
/*
* Copyright (c) 2011 The Chromium OS Authors.
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _ASM_CONFIG_H_
*/
#ifndef _ASM_CONFIG_H_
@@
-9,4
+8,12
@@
#define CONFIG_SANDBOX_ARCH
#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
#endif