From: Tom Rini <trini@konsulko.com>
Date: Tue, 24 May 2022 18:18:11 +0000 (-0400)
Subject: stih410-b2260: Switch to using GENERATED_GBL_DATA_SIZE
X-Git-Tag: v2025.01-rc5-pxa1908~1353^2~27^2~28
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/html/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=be131adb8d1a0b414688c60d47fbe9525d243d79;p=u-boot.git

stih410-b2260: Switch to using GENERATED_GBL_DATA_SIZE

We have GENERATED_GBL_DATA_SIZE to tell us how large the generated
global data is, so do not use a hard-coded value of 1024 for it.

Signed-off-by: Tom Rini <trini@konsulko.com>
---

diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h
index fba93fd9d3..69b9232201 100644
--- a/include/configs/stih410-b2260.h
+++ b/include/configs/stih410-b2260.h
@@ -42,10 +42,9 @@
 
 /* Extra Commands */
 
-#define CONFIG_SYS_GBL_DATA_SIZE	1024	/* Global data structures */
 #define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_TEXT_BASE - \
 					 CONFIG_SYS_MALLOC_LEN - \
-					 CONFIG_SYS_GBL_DATA_SIZE)
+					 GENERATED_GBL_DATA_SIZE)
 
 /* USB Configs */
 #define CONFIG_USB_OHCI_NEW