]>
Commit | Line | Data |
---|---|---|
cbd2fba1 RL |
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 <[email protected]> | |
7 | */ | |
8 | ||
9 | #ifndef __MT7629_H | |
10 | #define __MT7629_H | |
11 | ||
12 | #include <linux/sizes.h> | |
13 | ||
14 | /* Miscellaneous configurable options */ | |
cbd2fba1 | 15 | |
cbd2fba1 | 16 | /* Environment */ |
cbd2fba1 RL |
17 | |
18 | /* Defines for SPL */ | |
cbd2fba1 RL |
19 | |
20 | #define CONFIG_SPI_ADDR 0x30000000 | |
cbd2fba1 RL |
21 | #define CONFIG_SYS_UBOOT_BASE (CONFIG_SPI_ADDR + CONFIG_SPL_PAD_TO) |
22 | ||
23 | /* SPL -> Uboot */ | |
cbd2fba1 RL |
24 | |
25 | /* UBoot -> Kernel */ | |
cbd2fba1 RL |
26 | |
27 | /* DRAM */ | |
28 | #define CONFIG_SYS_SDRAM_BASE 0x40000000 | |
29 | ||
d7fe0ad2 WG |
30 | /* Ethernet */ |
31 | #define CONFIG_IPADDR 192.168.1.1 | |
32 | #define CONFIG_SERVERIP 192.168.1.2 | |
33 | ||
cbd2fba1 | 34 | #endif |