[qca-ssdk-shell] add led structure at shell..
add led structure at shell.
Change-Id: I12f0a5d863e2ae1201f8bd542ae2cd6e9b7e2485
Signed-off-by: esong <song@codeaurora.org>
diff --git a/include/init/ssdk_init.h b/include/init/ssdk_init.h
index 81cf8cd..c31e00e 100755
--- a/include/init/ssdk_init.h
+++ b/include/init/ssdk_init.h
@@ -22,6 +22,8 @@
#endif /* __cplusplus */
#include "common/sw.h"
+#include "fal_led.h"
+
typedef enum {
HSL_MDIO = 1,
@@ -100,6 +102,13 @@
a_uint32_t wan_bmp;
} ssdk_port_cfg;
+ typedef struct
+ {
+ a_uint32_t led_source_id;
+ led_ctrl_pattern_t led_pattern;
+
+ } led_source_cfg_t;
+
typedef struct
{
hsl_init_mode cpu_mode;
@@ -119,6 +128,8 @@
/* port cfg */
ssdk_port_cfg port_cfg;
a_uint32_t mac_mode;
+ a_uint32_t led_source_num;
+ led_source_cfg_t led_source_cfg[14];
} ssdk_init_cfg;
#if defined ATHENA