diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-09-19 15:20:22 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-24 09:21:40 +0200 |
commit | 14e8e0a421004ae6fc3d9351fb44eb402e5da77a (patch) | |
tree | 9e5078486d6f90c8f97dd570fb45520ca9cb5077 /include/common.h | |
parent | 47974cac82a59427972373a6d0e6c23eda81ba3b (diff) | |
download | barebox-14e8e0a421004ae6fc3d9351fb44eb402e5da77a.tar.gz barebox-14e8e0a421004ae6fc3d9351fb44eb402e5da77a.tar.xz |
shutdown: add board call back
so if we need to do something switch in the board we can fill this function
pointer (as example on Animeo IP shutdown some rs232 & rs485)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 066827fd7d..0f0ba08c44 100644 --- a/include/common.h +++ b/include/common.h @@ -152,6 +152,7 @@ extern int (*barebox_main)(void); void __noreturn start_barebox(void); void shutdown_barebox(void); +extern void (*board_shutdown)(void); /* * architectures which have special calling conventions for |