From 2ae6d6f6de3d5fb6c1fdb039d0997814ac0b9798 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 9 May 2013 16:16:13 -0700 Subject: ARMv7: normalize ramstage code flow In ram stage, all code flow should be tied to the resource allocator. Stuff that has to happen before everything else goes into the mainboard enable function in mainboard.c. This patch empties the main() wrapper around hardwaremain.c, allowing to get rid of this special case in the ARM port. Change-Id: Ide91a23f1043b64acf64471f180a2297f0f40d97 Signed-off-by: Stefan Reinauer Signed-off-by: Gabe Black Reviewed-on: http://review.coreboot.org/3638 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/emulation/qemu-armv7/ramstage.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mainboard/emulation') diff --git a/src/mainboard/emulation/qemu-armv7/ramstage.c b/src/mainboard/emulation/qemu-armv7/ramstage.c index 5fce9fa68c..32e6cab95a 100644 --- a/src/mainboard/emulation/qemu-armv7/ramstage.c +++ b/src/mainboard/emulation/qemu-armv7/ramstage.c @@ -13,8 +13,6 @@ * GNU General Public License for more details. */ -#include - void hardwaremain(void); void main(void) { -- cgit v1.2.3