coreboot/src
Aaron Durbin 633f11274f x86: remove stack definition in linker script
In order to prepare the ramstage to be linked by the rmodule linker the
stack needs to be self-contained within the ramstage objects. The
reasoning is that the rmodule linker provides a way to define a heap,
but it doesn't currently have a region for the stack.

The downside to this is that memory footprint of the ramstage can change
when compared before this change. The size difference stems from the
link ordering of the objects as the stack is now defined within
c_start.S. The size fluctuation ranges from 0 to CONFIG_STACK_SIZE - 1
because of the previous behavior or aligning to CONFIG_STACK_SIZE. It
should be noted that such an alignment is unnecessary for 32-bit x86 as
the alignment requirement for the stacks are 4 byte alignment. Also the
memory footprint is still dominated by CONFIG_RAMTOP and CONFIG_RAMBASE.

Change-Id: I63a4ddd249104bc27aff2ab6b39fc6db12b54028
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2785
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
2013-03-19 18:51:59 +01:00
..
arch x86: remove stack definition in linker script 2013-03-19 18:51:59 +01:00
console Eliminate do_div(). 2013-03-08 23:14:26 +01:00
cpu haswell: wait 10ms after INIT IPI 2013-03-19 05:26:12 +01:00
device Google Link: Add remaining code to support native graphics 2013-03-15 20:21:51 +01:00
drivers GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
ec Support ITE IT8518 embedded controller running Quanta's firmware 2013-03-14 04:54:21 +01:00
include intel microcode: split up microcode loading stages 2013-03-19 05:11:50 +01:00
lib cbfs: alternative support for cbfs_load_payload() 2013-03-19 18:47:57 +01:00
mainboard Include byteorder.h for the definition of ntohl in romstage.c 2013-03-19 05:26:29 +01:00
northbridge AMD Fam15: Add SPD read functions to wrapper code 2013-03-19 17:08:10 +01:00
southbridge bd82x6x: Fix compiling with USB debug port support 2013-03-19 17:52:12 +01:00
superio Super I/O W83627DHG: Enable UART B by redirecting pins 2013-03-15 17:51:48 +01:00
vendorcode google/snow: rename a file so that it is clear what board it is for 2013-03-16 04:07:35 +01:00
Kconfig cbfs: alternative support for cbfs_load_payload() 2013-03-19 18:47:57 +01:00