diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-08-07 13:14:20 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-11-07 03:57:34 +0100 |
commit | 52095f58540bf70c0a469ec17aa67518390f43f2 (patch) | |
tree | 14459e88030dcccda75900dd6e992d47c7979d9f /src/boot/hardwaremain.c | |
parent | b6e1237978f6aee4516263980f6bcf002d98ef20 (diff) | |
download | coreboot-52095f58540bf70c0a469ec17aa67518390f43f2.tar.xz |
Add POST code for "All devices initialized"
Right now we only had a post code for "All devices enabled" which
was emitted at the wrong time (after the device initialize stage
rather than the device enable stage)
Change-Id: Iee82bff020de844c7095703f8d6521953003032c
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1693
Reviewed-by: Marc Jones <marcj303@gmail.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/boot/hardwaremain.c')
-rw-r--r-- | src/boot/hardwaremain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c index 099ab3ae78..8348493048 100644 --- a/src/boot/hardwaremain.c +++ b/src/boot/hardwaremain.c @@ -102,13 +102,14 @@ void hardwaremain(int boot_complete) #endif /* Now actually enable devices on the bus */ dev_enable(); + post_code(POST_DEVICES_ENABLED); #if CONFIG_COLLECT_TIMESTAMPS timestamps[4] = rdtsc(); #endif /* And of course initialize devices on the bus */ dev_initialize(); - post_code(POST_DEVICES_ENABLED); + post_code(POST_DEVICES_INITIALIZED); #if CONFIG_COLLECT_TIMESTAMPS timestamps[5] = rdtsc(); |