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 */ |
Simon Glass | 72cc538 | 2022-10-20 18:22:39 -0600 | [diff] [blame^] | 17 | #define CONFIG_SYS_UBOOT_BASE CONFIG_TEXT_BASE |
developer | 15dd2c8 | 2022-09-09 19:59:16 +0800 | [diff] [blame] | 18 | |
| 19 | /* SPL -> Uboot */ |
Simon Glass | 72cc538 | 2022-10-20 18:22:39 -0600 | [diff] [blame^] | 20 | #define CONFIG_SYS_UBOOT_START CONFIG_TEXT_BASE |
developer | 15dd2c8 | 2022-09-09 19:59:16 +0800 | [diff] [blame] | 21 | |
| 22 | /* DRAM */ |
| 23 | #define CONFIG_SYS_SDRAM_BASE 0x40000000 |
| 24 | |
| 25 | #endif |