developer | 15dd2c8 | 2022-09-09 19:59:16 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Configuration for MediaTek MT7981 SoC |
| 4 | * |
| 5 | * Copyright (C) 2022 MediaTek Inc. |
| 6 | * Author: Sam Shih <sam.shih@mediatek.com> |
| 7 | */ |
| 8 | |
| 9 | #ifndef __MT7981_H |
| 10 | #define __MT7981_H |
| 11 | |
| 12 | #include <linux/sizes.h> |
| 13 | |
| 14 | #define CONFIG_SYS_NONCACHED_MEMORY SZ_1M |
| 15 | |
| 16 | /* Uboot definition */ |
| 17 | #define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_TEXT_BASE |
| 18 | |
| 19 | /* SPL -> Uboot */ |
| 20 | #define CONFIG_SYS_UBOOT_START CONFIG_SYS_TEXT_BASE |
| 21 | |
| 22 | /* DRAM */ |
| 23 | #define CONFIG_SYS_SDRAM_BASE 0x40000000 |
| 24 | |
| 25 | #endif |