[08/10] platform: Add load_done to Habanero platform

Message ID 20170609065546.28963-8-matthew.brown.dev@gmail.com
State New
Headers show

Commit Message

Matt Brown June 9, 2017, 6:55 a.m.
This adds the load_done function to the Habanero platform.
Allowing Habanero machines to asyncronously decode the initramfs
during boot.

Signed-off-by: Matt Brown <matthew.brown.dev@gmail.com>
---
 platforms/astbmc/habanero.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/platforms/astbmc/habanero.c b/platforms/astbmc/habanero.c
index 2856a97..a7d87bb 100644
--- a/platforms/astbmc/habanero.c
+++ b/platforms/astbmc/habanero.c
@@ -147,6 +147,7 @@  DECLARE_PLATFORM(habanero) = {
 	.elog_commit		= ipmi_elog_commit,
 	.start_preload_resource	= flash_start_preload_resource,
 	.resource_loaded	= flash_resource_loaded,
+	.load_done		= flash_load_boot_resource,
 	.exit			= ipmi_wdt_final_reset,
 	.terminate		= ipmi_terminate,
 };