diff options
author | Simon Glass | 2021-08-07 07:24:04 -0600 |
---|---|---|
committer | Simon Glass | 2021-09-25 09:46:15 -0600 |
commit | 95397385091da9d0d3acd7e69199ae23114ac22c (patch) | |
tree | 6e1aae135d09408f32f16c8195e1af185a5b132b /board/sandbox/sandbox.c | |
parent | 414cc15144f69b66d12aa8881192e34862bc6042 (diff) |
treewide: Use OF_REAL instead of !OF_PLATDATA
Now that we have a 'positive' Kconfig option, use this instead of the
negative one, which is harder to understand.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/sandbox/sandbox.c')
-rw-r--r-- | board/sandbox/sandbox.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/sandbox/sandbox.c b/board/sandbox/sandbox.c index dcd73451a34..5d9a945d64c 100644 --- a/board/sandbox/sandbox.c +++ b/board/sandbox/sandbox.c @@ -26,7 +26,10 @@ gd_t *gd; #if !CONFIG_IS_ENABLED(OF_PLATDATA) -/* Add a simple GPIO device */ +/* + * Add a simple GPIO device (don't use with of-platdata as it interferes with + * the auto-generated devices) + */ U_BOOT_DRVINFO(gpio_sandbox) = { .name = "sandbox_gpio", }; |