blob: 7228f3e42884aad7cf3c3af794e827f23ccf5532 [file] [log] [blame]
Fabien Parent2e50d822019-07-18 19:08:09 +02001/* 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
Fabien Parent2bd14a82021-02-15 19:07:44 +01009#ifndef __MT8516_H
10#define __MT8516_H
Fabien Parent2e50d822019-07-18 19:08:09 +020011
12#include <linux/sizes.h>
13
Fabien Parent2e50d822019-07-18 19:08:09 +020014
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
Fabien Parent2e50d822019-07-18 19:08:09 +020021/* Environment settings */
22#include <config_distro_bootcmd.h>
23
Fabien Parent00763af2021-02-15 19:07:46 +010024#define BOOT_TARGET_DEVICES(func) \
25 func(MMC, mmc, 0)
Fabien Parent2e50d822019-07-18 19:08:09 +020026
27#define CONFIG_EXTRA_ENV_SETTINGS \
Fabien Parent00763af2021-02-15 19:07:46 +010028 "scriptaddr=0x40000000\0" \
29 BOOTENV
Fabien Parent2e50d822019-07-18 19:08:09 +020030
31#endif