blob: f6ab486fa292023b38c30549fa152db6c020948c [file] [log] [blame]
Ryder Leecbd2fba2018-11-15 10:07:52 +08001/* 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 Leecbd2fba2018-11-15 10:07:52 +080015
Ryder Leecbd2fba2018-11-15 10:07:52 +080016/* Environment */
Ryder Leecbd2fba2018-11-15 10:07:52 +080017
Tom Rini308520b2022-12-02 16:42:31 -050018#define CFG_SYS_UBOOT_BASE (0x30000000 + CONFIG_SPL_PAD_TO)
Ryder Leecbd2fba2018-11-15 10:07:52 +080019
20/* SPL -> Uboot */
Ryder Leecbd2fba2018-11-15 10:07:52 +080021
22/* UBoot -> Kernel */
Ryder Leecbd2fba2018-11-15 10:07:52 +080023
24/* DRAM */
Tom Riniaa6e94d2022-11-16 13:10:37 -050025#define CFG_SYS_SDRAM_BASE 0x40000000
Ryder Leecbd2fba2018-11-15 10:07:52 +080026
Weijie Gaod7fe0ad2018-12-20 16:12:57 +080027/* Ethernet */
Weijie Gaod7fe0ad2018-12-20 16:12:57 +080028
Ryder Leecbd2fba2018-11-15 10:07:52 +080029#endif