diff options
author | Adam Ford <aford173@gmail.com> | 2018-06-10 22:25:57 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-06-18 14:43:12 -0400 |
commit | 8e51c0f254063f4da2e91c2cf47fad37285be73d (patch) | |
tree | c8a503db39f05757259950adc3fc34887f1b50f6 /board/davinci | |
parent | 92a14a4772ad5d809dbdaaae1812dd4757fece3c (diff) | |
download | u-boot-8e51c0f254063f4da2e91c2cf47fad37285be73d.zip u-boot-8e51c0f254063f4da2e91c2cf47fad37285be73d.tar.gz u-boot-8e51c0f254063f4da2e91c2cf47fad37285be73d.tar.bz2 |
dm: gpio: Add DM compatibility to GPIO driver for Davinci
This adds DM_GPIO support for the davinici GPIO driver with
DT support.
Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'board/davinci')
-rw-r--r-- | board/davinci/da8xxevm/da850evm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c index c565ba7..5583b45 100644 --- a/board/davinci/da8xxevm/da850evm.c +++ b/board/davinci/da8xxevm/da850evm.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <dm.h> #include <environment.h> #include <i2c.h> #include <net.h> @@ -24,6 +25,7 @@ #include <linux/errno.h> #include <hwconfig.h> #include <asm/mach-types.h> +#include <asm/gpio.h> #ifdef CONFIG_MMC_DAVINCI #include <mmc.h> |