netboot: Add a callback for finding netboot parameter storage.
This will allow having the parameters somewhere other than flash, and
disassociates the parameters and the nv scratch space.
Change-Id: Ie567580e4ee16382caa5be16deb1fe18152ea2d7
diff --git a/src/netboot/params.h b/src/netboot/params.h
index 0cc15fc..26d387b 100644
--- a/src/netboot/params.h
+++ b/src/netboot/params.h
@@ -25,6 +25,7 @@
#include <stdint.h>
+#include "drivers/storage/storage.h"
#include "net/uip.h"
typedef enum NetbootParamId
@@ -48,4 +49,7 @@
size_t cmd_line_max, char **bootfile, char **argsfile);
NetbootParam *netboot_params_val(NetbootParamId paramId);
+
+StorageOps *netboot_params_storage(void);
+
#endif /* __NETBOOT_PARAMS_H__ */