stih410-b2260: Switch to using GENERATED_GBL_DATA_SIZE
authorTom Rini <trini@konsulko.com>
Tue, 24 May 2022 18:18:11 +0000 (14:18 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 16:09:13 +0000 (12:09 -0400)
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>
include/configs/stih410-b2260.h

index fba93fd..69b9232 100644 (file)
 
 /* 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