blob: f371aac75bde48fd3025908ced7fb300ed1542fd [file] [log] [blame]
Tom Rini4549e782018-05-06 18:27:01 -04001# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01002#
3# Copyright (C) 2018, STMicroelectronics - All Rights Reserved
4#
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01005
Sean Nyekjær29e1a642019-01-04 11:37:24 +00006ALL-$(CONFIG_SPL_BUILD) += u-boot-spl.stm32
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01007
8MKIMAGEFLAGS_u-boot-spl.stm32 = -T stm32image -a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE)
9
Patrick Delaunay1b35c902019-01-28 11:13:27 +010010spl/u-boot-spl.stm32: MKIMAGEOUTPUT = spl/u-boot-spl.stm32.log
Patrick Delaunay2514c2d2018-03-12 10:46:10 +010011
Patrick Delaunay1b35c902019-01-28 11:13:27 +010012spl/u-boot-spl.stm32: spl/u-boot-spl.bin FORCE
Patrick Delaunay2514c2d2018-03-12 10:46:10 +010013 $(call if_changed,mkimage)
Patrick Delaunay1b35c902019-01-28 11:13:27 +010014
15u-boot-spl.stm32 : spl/u-boot-spl.stm32
16 $(call if_changed,copy)