
From: Vikram Narayanan vikram186@gmail.com
Add the driver to the default config
swarren: Enable CONFIG_CMD_GPIO, so you can actually use the driver.
Signed-off-by: Vikram Narayanan vikram186@gmail.com Signed-off-by: Stephen Warren swarren@wwwdotorg.org --- v2: New patch --- include/configs/rpi_b.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index 33169d3..5c91e7d 100644 --- a/include/configs/rpi_b.h +++ b/include/configs/rpi_b.h @@ -55,7 +55,8 @@ #define CONFIG_SYS_NO_FLASH
/* Devices */ -/* None yet */ +/* GPIO */ +#define CONFIG_BCM2835_GPIO
/* Console UART */ #define CONFIG_PL011_SERIAL @@ -88,6 +89,7 @@ /* Commands */ #include <config_cmd_default.h> #define CONFIG_CMD_BOOTZ +#define CONFIG_CMD_GPIO /* Some things don't make sense on this HW or yet */ #undef CONFIG_CMD_FPGA #undef CONFIG_CMD_NET