diff options
author | Simon Glass <sjg@chromium.org> | 2014-09-22 17:30:56 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 10:36:57 -0600 |
commit | 41e98e011da9a3a4461e8cb1479ce343898264fe (patch) | |
tree | ee5a4a4bcc3f57e39df466589913cc126ffc5a83 /include/configs/rpi_b.h | |
parent | da802b9e2726c7467e0b402efeb6ad3d975f1282 (diff) |
dm: rpi: Convert GPIO driver to driver model
Convert the BCM2835 GPIO driver to use driver model, and switch over
Raspberry Pi to use this, since it is the only board.
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'include/configs/rpi_b.h')
-rw-r--r-- | include/configs/rpi_b.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index 2d698094800..d9475e950b7 100644 --- a/include/configs/rpi_b.h +++ b/include/configs/rpi_b.h @@ -31,6 +31,11 @@ */ #define CONFIG_MACH_TYPE MACH_TYPE_BCM2708 +/* Enable driver model */ +#define CONFIG_DM +#define CONFIG_CMD_DM +#define CONFIG_DM_GPIO + /* Memory layout */ #define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_SYS_SDRAM_BASE 0x00000000 |