diff options
author | Uri Mashiach <uri.mashiach@compulab.co.il> | 2017-01-19 10:51:45 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-21 15:12:33 -0500 |
commit | 2d8d190c8394b43c0989cdb04a50cb48d4e1f8da (patch) | |
tree | a19e034f406aba9bfc07e8ef0d4fafc6fa4a04b7 /include/configs/motionpro.h | |
parent | 79267edd10fde0815c382157b9cb280166637fac (diff) | |
download | u-boot-imx-2d8d190c8394b43c0989cdb04a50cb48d4e1f8da.zip u-boot-imx-2d8d190c8394b43c0989cdb04a50cb48d4e1f8da.tar.gz u-boot-imx-2d8d190c8394b43c0989cdb04a50cb48d4e1f8da.tar.bz2 |
status_led: Kconfig migration
Move all of the status LED feature to drivers/led/Kconfig.
The LED status definitions were moved from the board configuration
files to the defconfig files.
TBD: Move all of the definitions in the include/status_led.h to the
relevant board's defconfig files.
Tested boards: CL-SOM-AM57x, CM-T335
Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
Diffstat (limited to 'include/configs/motionpro.h')
-rw-r--r-- | include/configs/motionpro.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/configs/motionpro.h b/include/configs/motionpro.h index 917350f..9b8a7ea 100644 --- a/include/configs/motionpro.h +++ b/include/configs/motionpro.h @@ -283,24 +283,10 @@ /* * Status LED configuration */ -#define CONFIG_STATUS_LED /* Status LED enabled */ -#define CONFIG_BOARD_SPECIFIC_LED #define ENABLE_GPIO_OUT 0x00000024 #define LED_ON 0x00000010 -#ifndef __ASSEMBLY__ -/* - * In case of Motion-PRO, a LED is identified by its corresponding - * GPT Enable and Mode Select Register. - */ -typedef volatile unsigned long * led_id_t; - -extern void __led_init(led_id_t id, int state); -extern void __led_toggle(led_id_t id); -extern void __led_set(led_id_t id, int state); -#endif /* __ASSEMBLY__ */ - /* * Temperature sensor */ |