diff options
author | Tom Rini <trini@konsulko.com> | 2023-07-13 20:38:50 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-13 20:38:50 -0400 |
commit | c990ecba4d8b73a0fcf6f33d758ff1ed176e44ae (patch) | |
tree | 36ef5b8b83ff5891adbf548dd26b20f3d63a2d4a /include/configs | |
parent | f6da5e927320acd2131d0bb802103aaf34b67925 (diff) | |
parent | 366a863e651edfe976d28995888721e9bd403366 (diff) | |
download | u-boot-c990ecba4d8b73a0fcf6f33d758ff1ed176e44ae.zip u-boot-c990ecba4d8b73a0fcf6f33d758ff1ed176e44ae.tar.gz u-boot-c990ecba4d8b73a0fcf6f33d758ff1ed176e44ae.tar.bz2 |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell
- mvebu: Thecus: Misc enhancement and cleanup (Tony)
- mvebu: Add AC5X Allied Telesis x240 board support incl NAND
controller enhancements for this SoC (Chris)
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/x240.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/include/configs/x240.h b/include/configs/x240.h new file mode 100644 index 0000000..3601df5 --- /dev/null +++ b/include/configs/x240.h @@ -0,0 +1,37 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2022 Allied Telesis + */ + +#ifndef __X240_H_ +#define __X240_H_ + +#include <asm/arch/soc.h> + +/* additions for new ARM relocation support */ +#define CFG_SYS_SDRAM_BASE 0x200000000 + +#define CFG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \ + 115200, 230400, 460800, 921600 } + +/* Default Env vars */ + +#define BOOT_TARGET_DEVICES(func) \ + func(USB, usb, 0) \ + func(DHCP, dhcp, na) + +#include <config_distro_bootcmd.h> + +#define CFG_EXTRA_ENV_SETTINGS \ + BOOTENV \ + "kernel_addr_r=0x202000000\0" \ + "fdt_addr_r=0x201000000\0" \ + "ramdisk_addr_r=0x206000000\0" \ + "fdtfile=marvell/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" + +/* + * High Level Configuration Options (easy to change) + */ +#define CFG_SYS_TCLK 325000000 + +#endif /* __X240_H_ */ |