Skip to content
Commit 1818b44b authored by Alexander Dahl's avatar Alexander Dahl Committed by Eugen Hristev
Browse files

board: sam9x60-curiosity: Let LED subsystem init leds if enabled



If CONFIG_LED and CONFIG_LED_GPIO are enabled, it is not necessary to
initialize the RGB LED on the board by manually setting hardcoded GPIOs
anymore.  Everything is well defined in dts and can be used like on
boards of other vendors.

Keep the old behaviour as fallback, though.

With all this in place enabling CONFIG_CMD_LED gives us a working 'led'
command on the U-Boot shell.

Signed-off-by: default avatarAlexander Dahl <ada@thorsis.com>
parent 72d5e3c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment