14 * Bootstrap code for the STPC Consumer
15 * Copyright (c) 1999 by Net Insight AB. All Rights Reserved.
20 * Written by Johan Rydberg, based on work by Daniel Kahlin.
21 * Rewritten by Eric Biederman
24 * We use ELF as output format. So that we can
25 * debug the code in some form.
27 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
35 INPUT(coreboot_ram.rom)
46 /* cut _start into last 64k*/
48 . = (_x < (CONFIG_ROMBASE - 0x10000 + CONFIG_ROM_IMAGE_SIZE)) ? (CONFIG_ROMBASE - 0x10000 + CONFIG_ROM_IMAGE_SIZE) : _x;
50 /* This section might be better named .setup */
62 _lrom = LOADADDR(.rom);
63 _elrom = LOADADDR(.rom) + SIZEOF(.rom);
64 _iseg = CONFIG_RAMBASE;
65 _eiseg = _iseg + SIZEOF(.ram);