
1 Apr
2017
1 Apr
'17
6:21 a.m.
On 22 March 2017 at 22:55, Wenyou Yang wenyou.yang@atmel.com wrote:
When the CONFIG_ATMEL_LEGACY is undefined, according to the following defines, at91_set_gpio_value() references to at91_set_pio_value(x, y) with two parameters. #define at91_set_gpio_value(x, y) at91_set_pio_value(x, y) #define at91_get_gpio_value(x) at91_get_pio_value(x)
But there isn't the implementation of at91_set_pio_value(x, y) with two parameters in U-Boot. This is an error.
Same as at91_get_gpio_value(x) define.
Signed-off-by: Wenyou Yang wenyou.yang@atmel.com
Changes in v3: None Changes in v2:
- Improve the commit log.
arch/arm/mach-at91/include/mach/gpio.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org