mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
5f3a7fdb72
Add support for Sipeed's Lichee Pi 4A board which based on T-HEAD's TH1520 SoC, only minimal device tree and serial console are enabled, so it's capable of chain booting from T-HEAD's vendor u-boot. Reviewed-by: Wei Fu <wefu@redhat.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
22 lines
387 B
C
22 lines
387 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (c) 2023 Yixun Lan <dlan@gentoo.org>
|
|
*
|
|
*/
|
|
|
|
#ifndef __TH1520_LPI4A_H
|
|
#define __TH1520_LPI4A_H
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
#define CFG_SYS_SDRAM_BASE 0x00000000
|
|
|
|
#define UART_BASE 0xffe7014000
|
|
#define UART_REG_WIDTH 32
|
|
|
|
/* Environment options */
|
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
|
"PS1=[LPi4A]# \0"
|
|
|
|
#endif /* __TH1520_LPI4A_H */
|