Files
u-boot/arch/sandbox/cpu/main.c
Simon Glass 4fe2bec2ea sandbox: Split main() into separate file
Normally sandbox includes a main() function so that it can be started
correctly.

When fuzzing is enabled, main() is not required.

When sandbox is built as a library, the main program will be somewhere
else so must not be in the library.

Split the main() function out into a new main.c file. Split the fuzzing
code into a new fuzz.c file.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-04 14:23:55 -06:00

12 lines
196 B
C

// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2011 The Chromium OS Authors.
*/
#include <asm/u-boot-sandbox.h>
int main(int argc, char *argv[])
{
return sandbox_main(argc, argv);
}