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(); diff --git a/src/include/console/post_codes.h b/src/include/console/post_codes.h index 1d12e5ad3f..c716b7251f 100644 --- a/src/include/console/post_codes.h +++ b/src/include/console/post_codes.h @@ -133,6 +133,13 @@ */ #define POST_DEVICES_ENABLED 0x89 +/** + * \brief Devices have been initialized + * + * Devices have been initialized. + */ +#define POST_DEVICES_INITIALIZED 0x8a + /** * \brief Entry into elf boot *