bootm.c (578ac1e9ba4c79175e69becb28e7157a84eff241) bootm.c (770605e4f9874230728f5a592820c619b1565ebc)
1/*
2 * Copyright (C) 2011 Andes Technology Corporation
3 * Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com>
4 * Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 55 unchanged lines hidden (view full) ---

64 theKernel = (void (*)(int, int, uint))images->ep;
65
66 s = getenv("machid");
67 if (s) {
68 machid = simple_strtoul(s, NULL, 16);
69 printf("Using machid 0x%x from environment\n", machid);
70 }
71
1/*
2 * Copyright (C) 2011 Andes Technology Corporation
3 * Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com>
4 * Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 55 unchanged lines hidden (view full) ---

64 theKernel = (void (*)(int, int, uint))images->ep;
65
66 s = getenv("machid");
67 if (s) {
68 machid = simple_strtoul(s, NULL, 16);
69 printf("Using machid 0x%x from environment\n", machid);
70 }
71
72 show_boot_progress(BOOTSTAGE_ID_RUN_OS);
72 bootstage_mark(BOOTSTAGE_ID_RUN_OS);
73
74 debug("## Transferring control to Linux (at address %08lx) ...\n",
75 (ulong)theKernel);
76
77#if defined(CONFIG_SETUP_MEMORY_TAGS) || \
78 defined(CONFIG_CMDLINE_TAG) || \
79 defined(CONFIG_INITRD_TAG) || \
80 defined(CONFIG_SERIAL_TAG) || \

--- 161 unchanged lines hidden ---
73
74 debug("## Transferring control to Linux (at address %08lx) ...\n",
75 (ulong)theKernel);
76
77#if defined(CONFIG_SETUP_MEMORY_TAGS) || \
78 defined(CONFIG_CMDLINE_TAG) || \
79 defined(CONFIG_INITRD_TAG) || \
80 defined(CONFIG_SERIAL_TAG) || \

--- 161 unchanged lines hidden ---