summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-05-09 16:16:13 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 02:40:17 +0200
commit2ae6d6f6de3d5fb6c1fdb039d0997814ac0b9798 (patch)
treef5355c4c59f0916ebb4d8ca79737267bbbcdf895 /src/mainboard/emulation
parent78c3e3355003ff2c0c2917f445e0c8dd3e083f52 (diff)
downloadcoreboot-2ae6d6f6de3d5fb6c1fdb039d0997814ac0b9798.tar.xz
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 <reinauer@google.com> Signed-off-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3638 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/emulation')
-rw-r--r--src/mainboard/emulation/qemu-armv7/ramstage.c2
1 files changed, 0 insertions, 2 deletions
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 <console/console.h>
-
void hardwaremain(void);
void main(void)
{