mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
board: add support for LicheeRV Nano
The LicheeRV Nano is a small SBC using the Sophgo SG2002 RISCV SoC. Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
This commit is contained in:
committed by
Leo Yu-Chi Liang
parent
4897de90c3
commit
04bcc87f0d
24
include/configs/licheerv_nano.h
Normal file
24
include/configs/licheerv_nano.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* Copyright (c) 2024, Thomas Bonnefille <thomas.bonnefille@bootlin.com>
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H
|
||||
#define __CONFIG_H
|
||||
|
||||
#include <config_distro_bootcmd.h>
|
||||
|
||||
#define BOOT_TARGET_DEVICES(func) \
|
||||
func(MMC, mmc, 0)
|
||||
|
||||
#define CFG_SYS_SDRAM_BASE 0x80000000
|
||||
|
||||
#define CFG_EXTRA_ENV_SETTINGS "consoledev=ttyS0\0" \
|
||||
"baudrate=115200\0" \
|
||||
"fdt_addr_r=0x82000000\0" \
|
||||
"kernel_addr_r=0x81000000\0" \
|
||||
"scriptaddr=0x80c00000\0" \
|
||||
BOOTENV
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
Reference in New Issue
Block a user