Rename board_led_initialize to board_autoled_initiaize
This commit is contained in:
parent
4131081e72
commit
9db4b4ca7e
10 changed files with 305 additions and 302 deletions
|
@ -125,7 +125,7 @@ __start:
|
|||
/* Initialize onboard LEDs */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
bl board_led_initialize
|
||||
bl board_autoled_initialize
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STACK_COLORATION
|
||||
|
|
|
@ -225,8 +225,9 @@ void up_boot(void)
|
|||
/* Set up the board-specific LEDs */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_initialize();
|
||||
board_autoled_initialize();
|
||||
#endif
|
||||
|
||||
/* Perform early serial initialization */
|
||||
|
||||
#ifdef USE_EARLYSERIALINIT
|
||||
|
|
|
@ -216,8 +216,9 @@ void up_boot(void)
|
|||
/* Set up the board-specific LEDs */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
board_led_initialize();
|
||||
board_autoled_initialize();
|
||||
#endif
|
||||
|
||||
/* Perform early serial initialization */
|
||||
|
||||
#ifdef USE_EARLYSERIALINIT
|
||||
|
|
|
@ -592,7 +592,7 @@ __start:
|
|||
/* Initialize onboard LEDs */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
bl board_led_initialize
|
||||
bl board_autoled_initialize
|
||||
#endif
|
||||
|
||||
/* Then jump to OS entry */
|
||||
|
|
|
@ -193,7 +193,7 @@ __start:
|
|||
/* Initialize onboard LEDs */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
bl board_led_initialize
|
||||
bl board_autoled_initialize
|
||||
#endif
|
||||
|
||||
/* Then jump to OS entry */
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
.globl up_earlyserialinit /* Early initialization of serial driver */
|
||||
#endif
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
.globl board_led_initialize /* Boot LED setup */
|
||||
.globl board_autoled_initialize /* Boot LED setup */
|
||||
#endif
|
||||
#ifdef CONFIG_DEBUG
|
||||
.globl up_lowputc /* Low-level debug output */
|
||||
|
@ -364,6 +364,7 @@ eicloop:
|
|||
strh \value, [\base1, #STR71X_APB_CKDIS_OFFSET]
|
||||
|
||||
/* Disable all(or most) APB2 peripherals */
|
||||
|
||||
ldr \value, =(STR71X_APB2_APB2ALL & ~STR71X_APB2_EIC)
|
||||
strh \value, [\base2, #STR71X_APB_CKDIS_OFFSET]
|
||||
|
||||
|
@ -391,6 +392,7 @@ eicloop:
|
|||
*****************************************************************************/
|
||||
|
||||
.macro remap, base, value
|
||||
|
||||
/* Read the PCU BOOTCR register */
|
||||
|
||||
ldr \base, =STR71X_PCU_BASE
|
||||
|
@ -570,7 +572,7 @@ ctor_end:
|
|||
/* Initialize onboard LEDs */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
bl board_led_initialize
|
||||
bl board_autoled_initialize
|
||||
#endif
|
||||
|
||||
/* Then jump to OS entry */
|
||||
|
@ -626,4 +628,3 @@ g_idle_topstack:
|
|||
.size g_idle_topstack, .-g_idle_topstack
|
||||
|
||||
.end
|
||||
|
||||
|
|
|
@ -260,8 +260,8 @@ __start:
|
|||
/* Initialize onboard LEDs */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
.globl _board_led_initialize /* Boot LED setup */
|
||||
jsr.a _board_led_initialize /* Call it */
|
||||
.globl _board_autoled_initialize /* Boot LED setup */
|
||||
jsr.a _board_autoled_initialize /* Call it */
|
||||
#endif
|
||||
showprogress '\n'
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
.globl _up_earlyconsoleinit /* Early initialization of console driver */
|
||||
#endif
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
.globl _board_led_initialize /* Boot LED setup */
|
||||
.globl _board_autoled_initialize /* Boot LED setup */
|
||||
#endif
|
||||
#ifdef CONFIG_DEBUG
|
||||
.globl _up_lowputc /* Low-level debug output */
|
||||
|
@ -85,6 +85,7 @@
|
|||
#endif
|
||||
|
||||
/* Interrupt handlers */
|
||||
|
||||
.globl _up_invalid_handler
|
||||
#ifdef CONFIG_SH1_DMAC0
|
||||
.globl _up_dmac0_handler
|
||||
|
@ -445,7 +446,7 @@ __start0:
|
|||
/* Initialize onboard LEDs */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
mov.l .Lledinit, r0 /* Address of board_led_initialize */
|
||||
mov.l .Lledinit, r0 /* Address of board_autoled_initialize */
|
||||
jsr @r0 /* Call it */
|
||||
or r0, r0 /* Delay slot */
|
||||
#endif
|
||||
|
@ -492,7 +493,7 @@ __start0:
|
|||
.long _up_lowputc
|
||||
#endif
|
||||
.Lledinit:
|
||||
.long _board_led_initialize
|
||||
.long _board_autoled_initialize
|
||||
.Losstart:
|
||||
.long _os_start
|
||||
.Lsvect:
|
||||
|
@ -521,4 +522,3 @@ _g_idle_topstack:
|
|||
.size _g_idle_topstack, .-_g_idle_topstack
|
||||
|
||||
.end
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
xref _z16f_clkinit:EROM
|
||||
xref _z16f_lowinit:EROM
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
xref _board_led_initialize:EROM
|
||||
xref _board_autoled_initialize:EROM
|
||||
#endif
|
||||
#if defined(USE_LOWUARTINIT)
|
||||
xref _z16f_lowuartinit:EROM
|
||||
|
@ -158,7 +158,7 @@ _z16f_reset:
|
|||
/* Initialize onboard LEDs */
|
||||
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
call _board_led_initialize
|
||||
call _board_autoled_initialize
|
||||
#endif
|
||||
/* Perform VERY early UART initialization so that we can use it here */
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
xref _z16f_clkinit:ROM
|
||||
xref _z16f_lowinit:ROM
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
xref _board_led_initialize:ROM
|
||||
xref _board_autoled_initialize:ROM
|
||||
#endif
|
||||
xref _os_start:ROM
|
||||
xref _up_doirq:ROM
|
||||
|
|
Loading…
Reference in a new issue