summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-02-21 01:17:10 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-03-19 12:21:18 +0100
commit0b5a776c1e9cc6dec8d5fa6d2f97eb8f19d3d325 (patch)
tree55e998b87b5b4e1cc9b34ffffc02d7ea851239f6 /include/common.h
parent36ae69a2dcb443bd3d55086f2f620e0057c9d6a6 (diff)
downloadbarebox-0b5a776c1e9cc6dec8d5fa6d2f97eb8f19d3d325.tar.gz
barebox-0b5a776c1e9cc6dec8d5fa6d2f97eb8f19d3d325.tar.xz
Shutdown U-Boot before starting an OS
Some devices, especially the ones doing DMA should be disabled before giving control to an OS. We take the simple approach here: Just shutdown the devices in the reverse order they were activated. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index a224f9a87e..a580e115c0 100644
--- a/include/common.h
+++ b/include/common.h
@@ -131,6 +131,7 @@ int parse_area_spec(const char *str, ulong *start, ulong *size);
unsigned long strtoul_suffix(const char *str, char **endp, int base);
void start_uboot(void);
+void shutdown_uboot(void);
int arch_execute(unsigned long address, int argc, char *argv[]);