diff options
Diffstat (limited to 'board/sandbox')
-rw-r--r-- | board/sandbox/sandbox/sandbox.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/board/sandbox/sandbox/sandbox.c b/board/sandbox/sandbox/sandbox.c index 95efaffcb1..2f90df52b4 100644 --- a/board/sandbox/sandbox/sandbox.c +++ b/board/sandbox/sandbox/sandbox.c @@ -4,7 +4,7 @@ */ #include <common.h> - +#include <dm.h> #include <os.h> /* @@ -14,6 +14,11 @@ */ gd_t *gd; +/* Add a simple GPIO device */ +U_BOOT_DEVICE(gpio_sandbox) = { + .name = "gpio_sandbox", +}; + void flush_cache(unsigned long start, unsigned long size) { } |