On the AM62x we have 0x3e000 bytes available for the initial r5 barebox
binary and the dmdata. The dmdata is currently hardcoded at offset
0x3a800 in the SRAM leaving only the space below that for the barebox
binary. The dmdata only has a size of 1362 bytes. Let's be generous and
give it 4096 bytes of maximum space, so move it up to 0x3d000 leaving
mode space for the barebox binary.

Signed-off-by: Sascha Hauer <[email protected]>
---
 images/Makefile.k3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/Makefile.k3 b/images/Makefile.k3
index 789f77722a..12538541b0 100644
--- a/images/Makefile.k3
+++ b/images/Makefile.k3
@@ -92,7 +92,7 @@ quiet_cmd_k3_am62x_image = K3_am62x_IMG   $@
                        $(SYSFW_$(@F)):2:0:0:00040000                           
\
                        $(SYSFWDATA_am625):18:0:0:00067000                      
\
                        $$inner                                                 
\
-                       $(DMDATA_am625):17:16:0:43c3a800                        
\
+                       $(DMDATA_am625):17:16:0:43c3d000                        
\
                        --key "$(KEY_$(@F))" --out $@
 
 ifdef CONFIG_FIRMWARE_K3_AM62L_OPTEE

-- 
2.47.3


Reply via email to