summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorGuillermo Rodríguez <guille.rodriguez@gmail.com>2018-10-23 16:32:41 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-11-10 08:50:47 +0100
commit16d3facf9626143a3ddb1c8083b1fde612f68691 (patch)
tree443a8a9b43d9eccc10ba1d365a5f900c97f55226 /platforms
parentbbc978e623cafc1278118ee1edd24b8609b26227 (diff)
downloadptxdist-16d3facf9626143a3ddb1c8083b1fde612f68691.tar.gz
ptxdist-16d3facf9626143a3ddb1c8083b1fde612f68691.tar.xz
u-boot: Add support for SPL for non-OMAP CPUs
Add support for installing the SPL binary for non-OMAP CPUs. Also properly remove any files installed in the platform image directory in the clean stage. Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/u-boot.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/platforms/u-boot.in b/platforms/u-boot.in
index b93d7f6f8..a403262bf 100644
--- a/platforms/u-boot.in
+++ b/platforms/u-boot.in
@@ -49,6 +49,13 @@ config U_BOOT_INSTALL_ELF
help
Installing the U-Boot ELF binary into platform image directory.
+config U_BOOT_INSTALL_SPL
+ prompt "install SPL"
+ bool
+ help
+ Installing the U-Boot SPL (Secondary Program Loader) binary into
+ platform image directory.
+
config U_BOOT_INSTALL_MLO
prompt "install MLO"
bool
@@ -57,14 +64,14 @@ config U_BOOT_INSTALL_MLO
Installing the U-Boot SPL ("MLO") binary needed for OMAP CPUs into platform
image directory.
-if U_BOOT_INSTALL_MLO
+if U_BOOT_INSTALL_MLO || U_BOOT_INSTALL_SPL
config U_BOOT_INSTALL_U_BOOT_IMG
prompt "install u-boot.img"
bool
help
Installing the u-boot image with header ("u-boot.img") which is executed
- by u-boot SPL ("MLO") into platform image directory.
+ by u-boot SPL into platform image directory.
endif
@@ -73,7 +80,8 @@ config U_BOOT_INSTALL_U_BOOT_IMX
bool
help
Installing the U-Boot image with imx header (u-boot.imx) into platform
- image directory. Say yes if you are building for freescale i.MX SOC
+ image directory. Say yes if you are building for freescale i.MX SOCs
+ and are not using SPL.
endif