summaryrefslogtreecommitdiff
path: root/board/congatec/cgtqmx8/cgtqmx8.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/congatec/cgtqmx8/cgtqmx8.c')
-rw-r--r--board/congatec/cgtqmx8/cgtqmx8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/congatec/cgtqmx8/cgtqmx8.c b/board/congatec/cgtqmx8/cgtqmx8.c
index a50a052df76..c211cb58396 100644
--- a/board/congatec/cgtqmx8/cgtqmx8.c
+++ b/board/congatec/cgtqmx8/cgtqmx8.c
@@ -425,7 +425,7 @@ int board_late_init(void)
char *end_of_uboot;
char command[256];
- end_of_uboot = (char *)(ulong)(CONFIG_SYS_TEXT_BASE + _end_ofs
+ end_of_uboot = (char *)(ulong)(CONFIG_TEXT_BASE + _end_ofs
+ fdt_totalsize(gd->fdt_blob));
end_of_uboot += 9;