1 // SPDX-License-Identifier: GPL-2.0+
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
10 int hello_world(int argc, char *const argv[])
14 /* Print the ABI version */
16 printf ("Example expects ABI version %d\n", XF_VERSION);
17 printf ("Actual U-Boot ABI version %d\n", (int)get_version());
19 printf ("Hello World\n");
21 printf ("argc = %d\n", argc);
23 for (i=0; i<=argc; ++i) {
24 printf ("argv[%d] = \"%s\"\n",
26 argv[i] ? argv[i] : "<NULL>");
29 printf ("Hit any key to exit ... ");