forked from OERV-BSP/u-boot
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>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user