diff mbox series

[U-Boot] post: remove reference to power functions

Message ID 1520842964-8416-1-git-send-email-patrick.delaunay@st.com
State Accepted
Commit f7bd1c3c97871cca021d0019c62fef2f1e382f72
Delegated to: Tom Rini
Headers show
Series [U-Boot] post: remove reference to power functions | expand

Commit Message

Patrick DELAUNAY March 12, 2018, 8:22 a.m. UTC
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: Patrick Delaunay <patrick.delaunay@st.com>
---

 doc/README.POST  | 11 -----------
 include/common.h |  1 -
 2 files changed, 12 deletions(-)

Comments

Tom Rini March 18, 2018, 2:57 p.m. UTC | #1
On Mon, Mar 12, 2018 at 09:22:44AM +0100, Patrick Delaunay wrote:

> 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: Patrick Delaunay <patrick.delaunay@st.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/doc/README.POST b/doc/README.POST
index a9335f4..43f424f 100644
--- a/doc/README.POST
+++ b/doc/README.POST
@@ -159,17 +159,6 @@  The POST layer will export the following interface routines:
 Also, the following board-specific routines will be called from the
 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)
 
      This routine will scan the keyboard to detect if a magic key
diff --git a/include/common.h b/include/common.h
index 0fe9439..537dd04 100644
--- a/include/common.h
+++ b/include/common.h
@@ -422,7 +422,6 @@  int board_fix_fdt (void *rw_fdt_blob); /* manipulate the U-Boot fdt before its r
 int board_late_init (void);
 int board_postclk_init (void); /* after clocks/timebase, before env/serial */
 int board_early_init_r (void);
-void board_poweroff (void);
 
 #if defined(CONFIG_SYS_DRAM_TEST)
 int testdram(void);