Skip to contentSkip to conversation

post: remove reference to power functions

PATCH In review Patrick Delaunay 2 participants 2 messages Mar 12, 2018 – Mar 18, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

 doc/README.POST  | 11 -----------
 include/common.h |  1 -
 2 files changed, 12 deletions(-)
doc/README.POST +0 -11
index a9335f4..43f424f 100644
@@ -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
include/common.h +0 -1
index 0fe9439..537dd04 100644
@@ -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);
Signature · 1 line
2.7.4
#1 lore raw
Quoted 6 lines · Patrick Delaunay

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180318/6f986593/attachment.sig>