aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2019-07-17 06:59:51 +0200
committerTom Rini <trini@konsulko.com>2019-07-29 09:32:10 -0400
commit49b10cb4926285b856b207c1f5bb40c75487f08b (patch)
tree5fabb5d8f10d8f0ab412d6abbe168dbec7965ff9 /common
parent5917d0b877af8d553934c77247f1aa75f2dd048b (diff)
downloadu-boot-49b10cb4926285b856b207c1f5bb40c75487f08b.zip
u-boot-49b10cb4926285b856b207c1f5bb40c75487f08b.tar.gz
u-boot-49b10cb4926285b856b207c1f5bb40c75487f08b.tar.bz2
gpio: fixes for gpio-hog support
recently added gpio hog patch was "in discussion" state with Simon Glass. This patch now adds most of comments from Simon Glass. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'common')
-rw-r--r--common/board_r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/board_r.c b/common/board_r.c
index ee4dced..84aec7f 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -49,7 +49,7 @@
#include <linux/err.h>
#include <efi_loader.h>
#include <wdt.h>
-#if defined(CONFIG_DM_GPIO_HOG)
+#if defined(CONFIG_GPIO_HOG)
#include <asm/gpio.h>
#endif
@@ -799,7 +799,7 @@ static init_fnc_t init_sequence_r[] = {
#ifdef CONFIG_CMD_NET
initr_ethaddr,
#endif
-#if defined(CONFIG_DM_GPIO_HOG)
+#if defined(CONFIG_GPIO_HOG)
gpio_hog_probe_all,
#endif
#ifdef CONFIG_BOARD_LATE_INIT