summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorTeo Hall <teo.hall@nxp.com>2018-10-15 17:01:27 -0500
committerNitin Garg <nitin.garg@nxp.com>2018-11-02 20:50:08 -0500
commit44af1001b241d98d36f35f74e1447e3d3b54724f (patch)
tree8fffc8b0327fdb41ded1b07129a1e9efecb6864a /include/spl.h
parentfe6af144930a0a32cbc4599635a96c8a629432a1 (diff)
MLK-19877-2: iMX8QXP: Add NAND SPL support
Add include files necessary for supporting SPL on QXP ARM2 board Signed-off-by: Teo Hall <teo.hall@nxp.com>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index 5af42b7f3e..199ce33e7f 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -99,6 +99,19 @@ void spl_set_bd(void);
*/
void spl_set_header_raw_uboot(struct spl_image_info *spl_image);
+
+
+/**
+ * spl_set_header_raw_atf() - Set up a standard SPL image structure for ATF
+ *
+ * This sets up the given spl_image which the standard values obtained from
+ * config options: CONFIG_SYS_MONITOR_LEN, CONFIG_SYS_UBOOT_START,
+ * CONFIG_SYS_TEXT_BASE.
+ *
+ * @spl_image: Image description to set up
+ */
+void spl_set_header_raw_atf(struct spl_image_info *spl_image);
+
/**
* spl_parse_image_header() - parse the image header and set up info
*