[09/10] platform: Add load_done to Palmetto platform

Message ID 20170609065546.28963-9-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 Palmetto platform.
Allowing it to asyncronously decode the initramfs during boot.

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

Patch

diff --git a/platforms/astbmc/palmetto.c b/platforms/astbmc/palmetto.c
index aadb2fc..8766d3e 100644
--- a/platforms/astbmc/palmetto.c
+++ b/platforms/astbmc/palmetto.c
@@ -138,6 +138,7 @@  DECLARE_PLATFORM(palmetto) = {
 	.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,
 };