Skip to content

Commit f30db82

Browse files
committed
boards/xtensa: Replace board_app_initialize
Replaced board_app_initialize logic with board_late_initialize. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
1 parent 2bee614 commit f30db82

79 files changed

Lines changed: 1 addition & 2295 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

boards/xtensa/esp32/esp32-2432S028/src/Make.defs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@
2222

2323
CSRCS = esp32_boot.c esp32_bringup.c
2424

25-
ifeq ($(CONFIG_BOARDCTL),y)
26-
CSRCS += esp32_appinit.c
2725
ifeq ($(CONFIG_BOARDCTL_RESET),y)
2826
CSRCS += esp32_reset.c
2927
endif
30-
endif
3128

3229
DEPPATH += --dep-path board
3330
VPATH += :board

boards/xtensa/esp32/esp32-2432S028/src/esp32-2432S028.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@
8787
* CONFIG_BOARD_LATE_INITIALIZE=y :
8888
* Called from board_late_initialize().
8989
*
90-
* CONFIG_BOARD_LATE_INITIALIZE=y && CONFIG_BOARDCTL=y :
91-
* Called from the NSH library via board_app_initialize()
92-
*
9390
****************************************************************************/
9491

9592
int esp32_bringup(void);

boards/xtensa/esp32/esp32-2432S028/src/esp32_appinit.c

Lines changed: 0 additions & 82 deletions
This file was deleted.

boards/xtensa/esp32/esp32-audio-kit/src/Make.defs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,9 @@ ifeq ($(CONFIG_USERLED),y)
2626
CSRCS += esp32_userleds.c
2727
endif
2828

29-
ifeq ($(CONFIG_BOARDCTL),y)
30-
CSRCS += esp32_appinit.c
3129
ifeq ($(CONFIG_BOARDCTL_RESET),y)
3230
CSRCS += esp32_reset.c
3331
endif
34-
endif
3532

3633
ifeq ($(CONFIG_DEV_GPIO),y)
3734
CSRCS += esp32_gpio.c

boards/xtensa/esp32/esp32-audio-kit/src/esp32-audio-kit.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@
9999
* CONFIG_BOARD_LATE_INITIALIZE=y :
100100
* Called from board_late_initialize().
101101
*
102-
* CONFIG_BOARD_LATE_INITIALIZE=y && CONFIG_BOARDCTL=y :
103-
* Called from the NSH library via board_app_initialize()
104-
*
105102
****************************************************************************/
106103

107104
int esp32_bringup(void);

boards/xtensa/esp32/esp32-audio-kit/src/esp32_appinit.c

Lines changed: 0 additions & 82 deletions
This file was deleted.

boards/xtensa/esp32/esp32-devkitc/src/Make.defs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@
2222

2323
CSRCS = esp32_boot.c esp32_bringup.c
2424

25-
ifeq ($(CONFIG_BOARDCTL),y)
26-
CSRCS += esp32_appinit.c
2725
ifeq ($(CONFIG_BOARDCTL_RESET),y)
2826
CSRCS += esp32_reset.c
2927
endif
30-
endif
3128

3229
ifeq ($(CONFIG_DEV_GPIO),y)
3330
CSRCS += esp32_gpio.c

boards/xtensa/esp32/esp32-devkitc/src/esp32-devkitc.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@
104104
* CONFIG_BOARD_LATE_INITIALIZE=y :
105105
* Called from board_late_initialize().
106106
*
107-
* CONFIG_BOARD_LATE_INITIALIZE=y && CONFIG_BOARDCTL=y :
108-
* Called from the NSH library via board_app_initialize()
109-
*
110107
****************************************************************************/
111108

112109
int esp32_bringup(void);

boards/xtensa/esp32/esp32-devkitc/src/esp32_appinit.c

Lines changed: 0 additions & 82 deletions
This file was deleted.

boards/xtensa/esp32/esp32-ethernet-kit/src/Make.defs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@
2222

2323
CSRCS = esp32_boot.c esp32_bringup.c
2424

25-
ifeq ($(CONFIG_BOARDCTL),y)
26-
CSRCS += esp32_appinit.c
2725
ifeq ($(CONFIG_BOARDCTL_RESET),y)
2826
CSRCS += esp32_reset.c
2927
endif
30-
endif
3128

3229
ifeq ($(CONFIG_ARCH_BUTTONS),y)
3330
CSRCS += esp32_buttons.c

0 commit comments

Comments
 (0)