Skip to content

Commit 6ee2478

Browse files
committed
pistachio: enable board late init
We define some empty implementations of the board_*_init functions but don't actually have them enabled. This is confusing as if used they won't actually do anything. Therefore have enabled any that we actually use and removed empty definitions of disabled ones. Signed-off-by: Ian Pozella <[email protected]>
1 parent 5d39860 commit 6ee2478

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

board/imgtec/pistachio_bub/pistachio.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,6 @@ int board_late_init(void)
205205
return 0;
206206
}
207207

208-
int misc_init_r(void)
209-
{
210-
return 0;
211-
}
212-
213208
#ifndef DM_SERIAL
214209
struct serial_device *default_serial_console(void)
215210
{

include/configs/pistachio_bub.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#define CONFIG_PISTACHIO
2222
#define PISTACHIO_BOARD_NAME CONFIG_SYS_CONFIG_NAME
2323
#define CONFIG_BOARD_EARLY_INIT_F
24+
#define CONFIG_BOARD_LATE_INIT
2425
#define CONFIG_DISPLAY_BOARDINFO
2526
#define CONFIG_WINBOND_OTP
2627
#define CONFIG_OF_LIBFDT

0 commit comments

Comments
 (0)