summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-05-09 16:30:06 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 02:40:30 +0200
commit6adef0847e4a62abf00e489209d239c958447830 (patch)
tree5e6cbc1a6f84cca69b7060710b73b1d31c00ccf5 /src/lib
parent2ae6d6f6de3d5fb6c1fdb039d0997814ac0b9798 (diff)
downloadcoreboot-6adef0847e4a62abf00e489209d239c958447830.tar.xz
Rename hardwaremain() to main()
... and drop the wrapper on ARMv7 Change-Id: If3ffe953cee9e61d4dcbb38f4e5e2ca74b628ccc Signed-off-by: Stefan Reinauer <reinauer@google.com> Signed-off-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/3639 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/hardwaremain.c2
-rw-r--r--src/lib/timestamp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c
index 56539cb3bb..a1803ed964 100644
--- a/src/lib/hardwaremain.c
+++ b/src/lib/hardwaremain.c
@@ -445,7 +445,7 @@ static void boot_state_schedule_static_entries(void)
}
}
-void hardwaremain(void)
+void main(void)
{
timestamp_stash(TS_START_RAMSTAGE);
post_code(POST_ENTRY_RAMSTAGE);
diff --git a/src/lib/timestamp.c b/src/lib/timestamp.c
index 2f53c50e16..3f8a7bd621 100644
--- a/src/lib/timestamp.c
+++ b/src/lib/timestamp.c
@@ -92,7 +92,7 @@ static int timestamp_entries CAR_GLOBAL = 0;
* This is needed when time stamping before the CBMEM area
* is initialized. The function timestamp_sync() is used to
* write the time stamps to the CBMEM area. This is done in
- * hardwaremain()
+ * ram stage main()
*/
void timestamp_stash(enum timestamp_id id)