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>
This commit is contained in:
Tom Rini 2022-05-24 14:18:11 -04:00
parent 4c97c8cd42
commit be131adb8d

View file

@ -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