928f4b0dc773461ba3bdfe8cf1fe5a6616aab04f
[platform/kernel/u-boot.git] / include / configs / mt8516.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Configuration for Pumpkin board
4  *
5  * Copyright (C) 2019 BayLibre, SAS
6  * Author: Fabien Parent <fparent@baylibre.com
7  */
8
9 #ifndef __MT8516_H
10 #define __MT8516_H
11
12 #include <linux/sizes.h>
13
14
15 #define CONFIG_SYS_NS16550_SERIAL
16 #define CONFIG_SYS_NS16550_REG_SIZE     -4
17 #define CONFIG_SYS_NS16550_MEM32
18 #define CONFIG_SYS_NS16550_COM1         0x11005000
19 #define CONFIG_SYS_NS16550_CLK          26000000
20
21 #define CONFIG_SYS_BOOTM_LEN            SZ_64M
22
23 /* Environment settings */
24 #include <config_distro_bootcmd.h>
25
26 #define BOOT_TARGET_DEVICES(func) \
27         func(MMC, mmc, 0)
28
29 #define CONFIG_EXTRA_ENV_SETTINGS \
30         "scriptaddr=0x40000000\0" \
31         BOOTENV
32
33 #endif