1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Configuration for MT8183 based boards
5 * Copyright (C) 2021 BayLibre, SAS
6 * Author: Fabien Parent <fparent@baylibre.com
12 #include <linux/sizes.h>
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 0x11005200
19 #define CONFIG_SYS_NS16550_CLK 26000000
21 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + SZ_2M - \
22 GENERATED_GBL_DATA_SIZE)
24 #define CONFIG_SYS_BOOTM_LEN SZ_64M
26 /* Environment settings */
27 #include <config_distro_bootcmd.h>
29 #define BOOT_TARGET_DEVICES(func) \
32 #define CONFIG_EXTRA_ENV_SETTINGS \
33 "scriptaddr=0x40000000\0" \