diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2021-08-19 11:57:05 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-08-31 12:04:03 +0200 |
commit | a9346b93b4c19003a8b14393811e1eb6063f0ed4 (patch) | |
tree | 3b6fb1964336febe5e76982d7b5680f77fa8644e /configs/sandbox_defconfig | |
parent | 2ac8490412c98211750e5fde9b7a5cda3035d7fd (diff) | |
download | u-boot-a9346b93b4c19003a8b14393811e1eb6063f0ed4.zip u-boot-a9346b93b4c19003a8b14393811e1eb6063f0ed4.tar.gz u-boot-a9346b93b4c19003a8b14393811e1eb6063f0ed4.tar.bz2 |
sandbox: add test of wdt_gpio driver
It seems that no other test has claimed gpio_a:7 yet, so use that.
The only small wrinkle is modifying the existing wdt test to use
uclass_get_device_by_driver() since we now have two UCLASS_WDT
instances in play, so it's a little more robust to fetch the device by
driver and not merely uclass+index.
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Diffstat (limited to 'configs/sandbox_defconfig')
-rw-r--r-- | configs/sandbox_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index ec6b1c2..2b8d147 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -283,6 +283,7 @@ CONFIG_W1_EEPROM=y CONFIG_W1_EEPROM_SANDBOX=y # CONFIG_WATCHDOG_AUTOSTART is not set CONFIG_WDT=y +CONFIG_WDT_GPIO=y CONFIG_WDT_SANDBOX=y CONFIG_FS_CBFS=y CONFIG_FS_CRAMFS=y |