summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2019-12-19 16:19:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-12-20 16:16:44 +0100
commit7fb7358a41a656ac3f0ffdbba2bdc1927218706d (patch)
tree7fc74d73119e210a707aa268474e72fd9eec4b8f /arch
parenta25da7f9196b66259d0cdb9e8265fcaffa65343a (diff)
downloadbarebox-7fb7358a41a656ac3f0ffdbba2bdc1927218706d.tar.gz
barebox-7fb7358a41a656ac3f0ffdbba2bdc1927218706d.tar.xz
ARM: nxp-imx8mq-evk: fix bootflow comment
The comment above nxp_imx8mq_evk_start is no longer accurate, as there is no trampoline in DRAM anymore. Change the comment to reflect the current boot flow. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boards/nxp-imx8mq-evk/lowlevel.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/boards/nxp-imx8mq-evk/lowlevel.c b/arch/arm/boards/nxp-imx8mq-evk/lowlevel.c
index 213ab70682..eb96c08051 100644
--- a/arch/arm/boards/nxp-imx8mq-evk/lowlevel.c
+++ b/arch/arm/boards/nxp-imx8mq-evk/lowlevel.c
@@ -48,14 +48,13 @@ static void setup_uart(void)
* summary:
*
* 1. MaskROM uploads PBL into OCRAM and that's where this function is
- * executed for the first time
+ * executed for the first time. At entry the exception level is EL3.
*
- * 2. DDR is initialized and the TF-A trampoline is installed in the
- * DRAM.
+ * 2. DDR is initialized and the PBL is copied from OCRAM to the TF-A return
+ * address in DRAM.
*
- * 3. TF-A is executed and exits into the trampoline in RAM, which enters the
- * PBL for the second time. DRAM setup done is indicated by a one in register
- * x0 by the trampoline
+ * 3. TF-A is executed and exits into the PBL code in DRAM. TF-A has taken us
+ * from EL3 to EL2.
*
* 4. The piggydata is loaded from the SD card and copied to the expected
* location in the DRAM.