Ryder Lee | cbd2fba | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | ||||
3 | * Configuration for MediaTek MT7629 SoC | ||||
4 | * | ||||
5 | * Copyright (C) 2018 MediaTek Inc. | ||||
6 | * Author: Ryder Lee <ryder.lee@mediatek.com> | ||||
7 | */ | ||||
8 | |||||
9 | #ifndef __MT7629_H | ||||
10 | #define __MT7629_H | ||||
11 | |||||
12 | #include <linux/sizes.h> | ||||
13 | |||||
14 | /* Miscellaneous configurable options */ | ||||
Ryder Lee | cbd2fba | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 15 | |
Ryder Lee | cbd2fba | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 16 | /* Environment */ |
Ryder Lee | cbd2fba | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 17 | |
Tom Rini | 308520b | 2022-12-02 16:42:31 -0500 | [diff] [blame] | 18 | #define CFG_SYS_UBOOT_BASE (0x30000000 + CONFIG_SPL_PAD_TO) |
Ryder Lee | cbd2fba | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 19 | |
20 | /* SPL -> Uboot */ | ||||
Ryder Lee | cbd2fba | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 21 | |
22 | /* UBoot -> Kernel */ | ||||
Ryder Lee | cbd2fba | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 23 | |
24 | /* DRAM */ | ||||
Tom Rini | aa6e94d | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 25 | #define CFG_SYS_SDRAM_BASE 0x40000000 |
Ryder Lee | cbd2fba | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 26 | |
Weijie Gao | d7fe0ad | 2018-12-20 16:12:57 +0800 | [diff] [blame] | 27 | /* Ethernet */ |
Weijie Gao | d7fe0ad | 2018-12-20 16:12:57 +0800 | [diff] [blame] | 28 | |
Ryder Lee | cbd2fba | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 29 | #endif |