developer | f4a079c | 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 */ | ||||
developer | f4a079c | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 15 | |
developer | f4a079c | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 16 | /* Environment */ |
developer | f4a079c | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 17 | |
Tom Rini | af1a3e9 | 2022-12-02 16:42:31 -0500 | [diff] [blame] | 18 | #define CFG_SYS_UBOOT_BASE (0x30000000 + CONFIG_SPL_PAD_TO) |
developer | f4a079c | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 19 | |
20 | /* SPL -> Uboot */ | ||||
developer | f4a079c | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 21 | |
22 | /* UBoot -> Kernel */ | ||||
developer | f4a079c | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 23 | |
24 | /* DRAM */ | ||||
Tom Rini | bb4dd96 | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 25 | #define CFG_SYS_SDRAM_BASE 0x40000000 |
developer | f4a079c | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 26 | |
developer | b8de3ee | 2018-12-20 16:12:57 +0800 | [diff] [blame] | 27 | /* Ethernet */ |
developer | b8de3ee | 2018-12-20 16:12:57 +0800 | [diff] [blame] | 28 | |
developer | f4a079c | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 29 | #endif |