From 7a9219c17a6a15bfa96a87b352837be71b6738f6 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 3 Oct 2011 19:26:44 +0000 Subject: 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 --- arch/sandbox/cpu/cpu.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'arch/sandbox/cpu/cpu.c') diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index 554cae8..c7bf8a9 100644 --- a/arch/sandbox/cpu/cpu.c +++ b/arch/sandbox/cpu/cpu.c @@ -20,15 +20,14 @@ */ #include +#include 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; } -- cgit v1.1