Prepare v2023.10
[platform/kernel/u-boot.git] / include / configs / mt8512.h
index 9c443db..c0fc868 100644 (file)
@@ -9,19 +9,8 @@
 #ifndef __MT8512_H
 #define __MT8512_H
 
-#include <linux/sizes.h>
-
-#define CONFIG_SYS_NONCACHED_MEMORY            SZ_1M
-
-#define COUNTER_FREQUENCY                      13000000
-
-#define CONFIG_SYS_BOOTM_LEN                   SZ_64M
-
 /* Uboot definition */
-#define CONFIG_SYS_UBOOT_START                 CONFIG_SYS_TEXT_BASE
-#define CONFIG_SYS_INIT_SP_ADDR                        (CONFIG_SYS_TEXT_BASE + \
-                                               SZ_2M - \
-                                               GENERATED_GBL_DATA_SIZE)
+#define CFG_SYS_UBOOT_START                    CONFIG_TEXT_BASE
 
 #define ENV_BOOT_READ_IMAGE \
        "boot_rd_img=mmc dev 0" \
@@ -37,7 +26,7 @@
 #define ENV_BOOT_CMD \
        "mtk_boot=run boot_rd_img;bootm;\0"
 
-#define CONFIG_EXTRA_ENV_SETTINGS \
+#define CFG_EXTRA_ENV_SETTINGS \
        "fdt_high=0x6c000000\0" \
        ENV_DEVICE_SETTINGS \
        ENV_BOOT_READ_IMAGE \