1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * Copyright (C) 2022 Allied Telesis 4 */ 5 6#ifndef __X240_H_ 7#define __X240_H_ 8 9#include <asm/arch/soc.h> 10 11/* additions for new ARM relocation support */ 12#define CFG_SYS_SDRAM_BASE 0x200000000 13 14#define CFG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \ 15 115200, 230400, 460800, 921600 } 16 17/* Default Env vars */ 18 19#define BOOT_TARGET_DEVICES(func) \ 20 func(USB, usb, 0) \ 21 func(DHCP, dhcp, na) 22 23#include <config_distro_bootcmd.h> 24 25#define CFG_EXTRA_ENV_SETTINGS \ 26 BOOTENV \ 27 "kernel_addr_r=0x202000000\0" \ 28 "fdt_addr_r=0x201000000\0" \ 29 "ramdisk_addr_r=0x206000000\0" \ 30 "fdtfile=marvell/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" 31 32/* 33 * High Level Configuration Options (easy to change) 34 */ 35#define CFG_SYS_TCLK 325000000 36 37#endif /* __X240_H_ */ 38