boot.c (144ecc7f1a12504e8a134d1cb6d88764f75ae36c) boot.c (b48b0640093764f06ae63b5df515d16fc2e26013)
1/*
2 * ARM kernel loader.
3 *
4 * Copyright (c) 2006-2007 CodeSourcery.
5 * Written by Paul Brook
6 *
7 * This code is licensed under the GPL.
8 */

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

1104 info->initrd_start,
1105 as);
1106 }
1107 if (initrd_size < 0) {
1108 error_report("could not load initrd '%s'",
1109 info->initrd_filename);
1110 exit(1);
1111 }
1/*
2 * ARM kernel loader.
3 *
4 * Copyright (c) 2006-2007 CodeSourcery.
5 * Written by Paul Brook
6 *
7 * This code is licensed under the GPL.
8 */

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

1104 info->initrd_start,
1105 as);
1106 }
1107 if (initrd_size < 0) {
1108 error_report("could not load initrd '%s'",
1109 info->initrd_filename);
1110 exit(1);
1111 }
1112 if (info->initrd_start + initrd_size > info->ram_size) {
1112 if (info->initrd_start + initrd_size > ram_end) {
1113 error_report("could not load initrd '%s': "
1114 "too big to fit into RAM after the kernel",
1115 info->initrd_filename);
1113 error_report("could not load initrd '%s': "
1114 "too big to fit into RAM after the kernel",
1115 info->initrd_filename);
1116 exit(1);
1116 }
1117 } else {
1118 initrd_size = 0;
1119 }
1120 info->initrd_size = initrd_size;
1121
1122 fixupcontext[FIXUP_BOARDID] = info->board_id;
1123 fixupcontext[FIXUP_BOARD_SETUP] = info->board_setup_addr;

--- 173 unchanged lines hidden ---
1117 }
1118 } else {
1119 initrd_size = 0;
1120 }
1121 info->initrd_size = initrd_size;
1122
1123 fixupcontext[FIXUP_BOARDID] = info->board_id;
1124 fixupcontext[FIXUP_BOARD_SETUP] = info->board_setup_addr;

--- 173 unchanged lines hidden ---