aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2022-08-04 21:06:23 +1200
committerStefan Roese <sr@denx.de>2022-08-09 08:58:27 +0200
commitd1471948f336be8cd754cdc2d826e47e8d3e6c2c (patch)
tree99491cce8153a34fbc1c99eaf6b5827d681fe39f /configs
parentc8ef618ae1ab00bb491c14449f44c92047ede3d7 (diff)
downloadu-boot-d1471948f336be8cd754cdc2d826e47e8d3e6c2c.zip
u-boot-d1471948f336be8cd754cdc2d826e47e8d3e6c2c.tar.gz
u-boot-d1471948f336be8cd754cdc2d826e47e8d3e6c2c.tar.bz2
ARM: kirkwood: SBx81LIFKW: remove direct access of GPIO registers
Replace code that accessed the GPIO registers directly with code that makes use of the LED_GPIO driver. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'configs')
-rw-r--r--configs/SBx81LIFKW_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/SBx81LIFKW_defconfig b/configs/SBx81LIFKW_defconfig
index f186f24..90800e2 100644
--- a/configs/SBx81LIFKW_defconfig
+++ b/configs/SBx81LIFKW_defconfig
@@ -46,6 +46,8 @@ CONFIG_DM_I2C=y
CONFIG_SYS_I2C_MVTWSI=y
CONFIG_I2C_MUX=y
CONFIG_I2C_MUX_PCA954x=y
+CONFIG_LED=y
+CONFIG_LED_GPIO=y
# CONFIG_MMC is not set
CONFIG_MTD=y
CONFIG_DM_SPI_FLASH=y