summaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/start.c
diff options
context:
space:
mode:
authorAllen Martin <amartin@nvidia.com>2013-01-22 13:11:21 +0000
committerSimon Glass <sjg@chromium.org>2013-02-28 19:09:21 -0800
commit8ec21bbe5c45fc80ca74eb403ab5b00a9e1f699f (patch)
tree2b1c0b511471bc5c5aa87b989defa578794fb7dd /arch/sandbox/cpu/start.c
parenta1eac57a2001ecf86a46f520cd85ef8e9c8b3687 (diff)
downloadu-boot-imx-8ec21bbe5c45fc80ca74eb403ab5b00a9e1f699f.zip
u-boot-imx-8ec21bbe5c45fc80ca74eb403ab5b00a9e1f699f.tar.gz
u-boot-imx-8ec21bbe5c45fc80ca74eb403ab5b00a9e1f699f.tar.bz2
sandbox: fix compiler warning
Add back return statement to fix compiler warning about control flow reaching end of non void function that was introduced with: e05e5de arm: move C runtime setup code in crt0.S Signed-off-by: Allen Martin <amartin@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/cpu/start.c')
-rw-r--r--arch/sandbox/cpu/start.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c
index 7603bf9..5287fd5 100644
--- a/arch/sandbox/cpu/start.c
+++ b/arch/sandbox/cpu/start.c
@@ -122,4 +122,7 @@ int main(int argc, char *argv[])
* never return.
*/
board_init_f(0);
+
+ /* NOTREACHED - board_init_f() does not return */
+ return 0;
}