From 0adc3f8538a3875ab0a48ccdc83b7884e9831f98 Mon Sep 17 00:00:00 2001
From: Fabio Estevam <festevam@gmail.com>
Date: Wed, 13 Mar 2019 15:02:56 -0300
Subject: [PATCH] imx8mq_evk: README: Need to copy bl31.bin to U-Boot source
 tree

After building ATF it is needed to copy the generated bl31.bin file to
the U-Boot source tree.

Make this step explicit in the instructions.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 board/freescale/imx8mq_evk/README | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/board/freescale/imx8mq_evk/README b/board/freescale/imx8mq_evk/README
index 2529f7da3d..bd5ee12722 100644
--- a/board/freescale/imx8mq_evk/README
+++ b/board/freescale/imx8mq_evk/README
@@ -9,13 +9,14 @@ Quick Start
 
 Get and Build the ARM Trusted firmware
 ====================
+Note: srctree is U-Boot source directory
 Get ATF from: https://source.codeaurora.org/external/imx/imx-atf
 branch: imx_4.14.62_1.0.0_beta
 $ make PLAT=imx8mq bl31
+$ cp build/imx8mq/release/bl31.bin $(srctree)
 
 Get the ddr and hdmi firmware
 ====================
-Note: srctree is U-Boot source directory
 $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.9.bin
 $ chmod +x firmware-imx-7.9.bin
 $ ./firmware-imx-7.9.bin
-- 
2.39.5