diff options
| author | Simon Glass <sjg@chromium.org> | 2011-10-03 19:26:44 +0000 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2011-10-17 23:56:58 +0200 | 
| commit | 7a9219c17a6a15bfa96a87b352837be71b6738f6 (patch) | |
| tree | d302692b8005d52bebb863db8d77dcb2ea92f48d /arch/sandbox/cpu/cpu.c | |
| parent | 8edf844f1b652bc81604d9b5fab59e2fa80fe3af (diff) | |
| download | olio-uboot-2014.01-7a9219c17a6a15bfa96a87b352837be71b6738f6.tar.xz olio-uboot-2014.01-7a9219c17a6a15bfa96a87b352837be71b6738f6.zip | |
sandbox: Add OS dependent layer
We want to keep all OS-dependent code in once place, with a simple interface
to U-Boot. For now, this is that place.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/cpu/cpu.c')
| -rw-r--r-- | arch/sandbox/cpu/cpu.c | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index 554cae85e..c7bf8a915 100644 --- a/arch/sandbox/cpu/cpu.c +++ b/arch/sandbox/cpu/cpu.c @@ -20,15 +20,14 @@   */  #include <common.h> +#include <os.h>  DECLARE_GLOBAL_DATA_PTR;  int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])  { -	/* -	 * This is considered normal termination for now. We wil call os_exit() -	 * when available. -	 */ +	/* This is considered normal termination for now */ +	os_exit(0);  	return 0;  } |