u-boot/arch/sandbox
Philippe Reynes 037a56d6b1 sandbox, test: change hog gpio
Since commit 9ba84329dc ("sandbox, test: add test for GPIO_HOG
function"), the gpio_a 0,1,2 and 3 are used by hog in test.dts.
But 2 leds 'sandbox:red' and 'sandbox:green' are using gpio_a 0
and 1. As hog always request his gpios, the led command on both
led is broken:

=> led sandbox:red
LED 'sandbox:red' not found (err=-16)

The gpio is already requested by hog, so it can't be enabled
for led 'sandbox:red'.

This commit change the gpio used by hog to 10, 11, 12 and 13,
so the led command could be used again with 'sandbox:red' and
'sandbox:green'.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
2020-07-28 19:30:39 -06:00
..
cpu sandbox: Move section u_boot_list to make it RW 2020-07-09 22:00:29 -06:00
dts sandbox, test: change hog gpio 2020-07-28 19:30:39 -06:00
include/asm sandbox: make RAM size configurable 2020-07-09 18:57:22 -06:00
lib common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
config.mk sandbox: sdl: Move to use SDL2 2020-02-05 19:33:46 -07:00
Kconfig sandbox: make RAM size configurable 2020-07-09 18:57:22 -06:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00