Use dtboaddr to define the overlay address common to all TI platforms
instead of creating a new overlayaddr for the purpose.

Signed-off-by: Nishanth Menon <n...@ti.com>
---
Changes since V1:
 - reordered to be patch #2, no functional changes
 V1: 
https://patchwork.ozlabs.org/project/uboot/patch/20201006190507.13346-4...@ti.com/
 include/environment/ti/ufs.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/environment/ti/ufs.h b/include/environment/ti/ufs.h
index d457e2030814..6619ec9c88ed 100644
--- a/include/environment/ti/ufs.h
+++ b/include/environment/ti/ufs.h
@@ -26,8 +26,8 @@
                "fdt resize 0x100000;" \
                "for overlay in $name_overlays;" \
                "do;" \
-               "load scsi ${bootpart} ${overlayaddr} ${bootdir}/${overlay} && 
" \
-               "fdt apply ${overlayaddr};" \
+               "load scsi ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && " \
+               "fdt apply ${dtboaddr};" \
                "done;\0"
 
 #endif
-- 
2.28.0

Reply via email to