Skip to content
Snippets Groups Projects
Commit f7bd1c3c authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

post: remove reference to power functions


The 2 functions board_power_mode and board_poweroff
are no more existing in U-Boot code (check with grep)
This patch updates the documentation and removes
the unnecessary prototypes.

Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent e6e92170
No related branches found
No related tags found
No related merge requests found
...@@ -159,17 +159,6 @@ The POST layer will export the following interface routines: ...@@ -159,17 +159,6 @@ The POST layer will export the following interface routines:
Also, the following board-specific routines will be called from the Also, the following board-specific routines will be called from the
U-Boot common code: U-Boot common code:
o) int board_power_mode(void)
This routine will return the mode the system is running in
(POST_POWERON, POST_NORMAL or POST_SHUTDOWN).
o) void board_poweroff(void)
This routine will turn off the power supply of the board. It
will be called on power-fail booting after running all POST
tests.
o) int post_hotkeys_pressed(gd_t *gd) o) int post_hotkeys_pressed(gd_t *gd)
This routine will scan the keyboard to detect if a magic key This routine will scan the keyboard to detect if a magic key
......
...@@ -415,7 +415,6 @@ int board_fix_fdt (void *rw_fdt_blob); /* manipulate the U-Boot fdt before its r ...@@ -415,7 +415,6 @@ int board_fix_fdt (void *rw_fdt_blob); /* manipulate the U-Boot fdt before its r
int board_late_init (void); int board_late_init (void);
int board_postclk_init (void); /* after clocks/timebase, before env/serial */ int board_postclk_init (void); /* after clocks/timebase, before env/serial */
int board_early_init_r (void); int board_early_init_r (void);
void board_poweroff (void);
#if defined(CONFIG_SYS_DRAM_TEST) #if defined(CONFIG_SYS_DRAM_TEST)
int testdram(void); int testdram(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment