[SLOF] [PATCH] board-qemu: Fix comment about SLOF start address

Gustavo Romero gromero at linux.ibm.com
Tue Jun 23 06:48:13 AEST 2020


On QEMU pseries (and alike environments) the PC starts at 0x100, hence SLOF
starts at address 0x100, not at 0x0 as the current comment informs. After
that fix the comment also matches the comment above it about the __start
load position, which is correct.

Signed-off-by: Gustavo Romero <gromero at linux.ibm.com>
---
 board-qemu/llfw/startup.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board-qemu/llfw/startup.S b/board-qemu/llfw/startup.S
index bbd3ce3..96cbb3e 100644
--- a/board-qemu/llfw/startup.S
+++ b/board-qemu/llfw/startup.S
@@ -22,7 +22,7 @@
 	 *
 	 * __start loaded at 0x100
 	 *
-	 * CPU 0 starts at 0 with GPR3 pointing to the flat devtree
+	 * CPU 0 starts at 0x100 with GPR3 pointing to the flat devtree
 	 *
 	 * All other CPUs are held in stopped state by qemu and are
 	 * started via RTAS
-- 
2.7.4



More information about the SLOF mailing list