blob: 7c31e219afd212afdc710ce415d4e06866194c11 [file] [log] [blame]
Fabien Parente5c1e622021-02-15 19:21:12 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Configuration for MT8183 based boards
4 *
5 * Copyright (C) 2021 BayLibre, SAS
6 * Author: Fabien Parent <fparent@baylibre.com
7 */
8
9#ifndef __MT8183_H
10#define __MT8183_H
11
12#include <linux/sizes.h>
13
Tom Rinidf6a2152022-11-16 13:10:28 -050014#define CFG_SYS_NS16550_COM1 0x11005200
15#define CFG_SYS_NS16550_CLK 26000000
Fabien Parente5c1e622021-02-15 19:21:12 +010016
Fabien Parente5c1e622021-02-15 19:21:12 +010017/* Environment settings */
18#include <config_distro_bootcmd.h>
19
20#define BOOT_TARGET_DEVICES(func) \
21 func(MMC, mmc, 0)
22
Tom Rinic9edebe2022-12-04 10:03:50 -050023#define CFG_EXTRA_ENV_SETTINGS \
Fabien Parente5c1e622021-02-15 19:21:12 +010024 "scriptaddr=0x40000000\0" \
25 BOOTENV
26
27#endif