[U-Boot] [PATCH v3 4/8] sandbox: Enable GPIO driver

Simon Glass sjg at chromium.org
Mon Jan 23 07:48:49 CET 2012


Enable the new GPIO driver for sandbox.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v3:
- Reduce number of GPIOs from 224 to 20

 include/configs/sandbox.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 6790216..a58a34e 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -34,6 +34,10 @@
 
 #define CONFIG_SYS_VSNPRINTF
 
+#define CONFIG_CMD_GPIO
+#define CONFIG_SANDBOX_GPIO
+#define CONFIG_SANDBOX_GPIO_COUNT	20
+
 /*
  * Size of malloc() pool, although we don't actually use this yet.
  */
-- 
1.7.7.3



More information about the U-Boot mailing list