blob: 1f81b0b4f87c63c16daae17ae270adece99fd5ae [file] [log] [blame]
developer15dd2c82022-09-09 19:59:16 +08001/* 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 Glass72cc5382022-10-20 18:22:39 -060017#define CONFIG_SYS_UBOOT_BASE CONFIG_TEXT_BASE
developer15dd2c82022-09-09 19:59:16 +080018
19/* SPL -> Uboot */
Simon Glass72cc5382022-10-20 18:22:39 -060020#define CONFIG_SYS_UBOOT_START CONFIG_TEXT_BASE
developer15dd2c82022-09-09 19:59:16 +080021
22/* DRAM */
23#define CONFIG_SYS_SDRAM_BASE 0x40000000
24
25#endif