arm: marvell: Extract kirkwood gpio functions into new common file gpio.c
This makes is possible to use those gpio functions from other MVEBU SoC's as well. Signed-off-by: Stefan Roese <sr@denx.de> Tested-by: Luka Perkov <luka@openwrt.org> Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
This commit is contained in:
@@ -52,9 +52,9 @@ int board_early_init_f(void)
|
||||
* There are maximum 64 gpios controlled through 2 sets of registers
|
||||
* the below configuration configures mainly initial LED status
|
||||
*/
|
||||
kw_config_gpio(LSXL_OE_VAL_LOW,
|
||||
LSXL_OE_VAL_HIGH,
|
||||
LSXL_OE_LOW, LSXL_OE_HIGH);
|
||||
mvebu_config_gpio(LSXL_OE_VAL_LOW,
|
||||
LSXL_OE_VAL_HIGH,
|
||||
LSXL_OE_LOW, LSXL_OE_HIGH);
|
||||
|
||||
/*
|
||||
* Multi-Purpose Pins Functionality configuration
|
||||
|
||||
Reference in New Issue
Block a user