Fabien Parent | e5c1e62 | 2021-02-15 19:21:12 +0100 | [diff] [blame] | 1 | /* 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 | |
Fabien Parent | e5c1e62 | 2021-02-15 19:21:12 +0100 | [diff] [blame] | 14 | |
Tom Rini | df6a215 | 2022-11-16 13:10:28 -0500 | [diff] [blame] | 15 | #define CFG_SYS_NS16550_COM1 0x11005200 |
| 16 | #define CFG_SYS_NS16550_CLK 26000000 |
Fabien Parent | e5c1e62 | 2021-02-15 19:21:12 +0100 | [diff] [blame] | 17 | |
Fabien Parent | e5c1e62 | 2021-02-15 19:21:12 +0100 | [diff] [blame] | 18 | /* Environment settings */ |
| 19 | #include <config_distro_bootcmd.h> |
| 20 | |
| 21 | #define BOOT_TARGET_DEVICES(func) \ |
| 22 | func(MMC, mmc, 0) |
| 23 | |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 24 | #define CFG_EXTRA_ENV_SETTINGS \ |
Fabien Parent | e5c1e62 | 2021-02-15 19:21:12 +0100 | [diff] [blame] | 25 | "scriptaddr=0x40000000\0" \ |
| 26 | BOOTENV |
| 27 | |
| 28 | #endif |