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 /* Default Env vars */ 15 #define BOOT_TARGETS "usb dhcp" 16 17 #define CFG_EXTRA_ENV_SETTINGS \ 18 "kernel_addr_r=0x202000000\0" \ 19 "fdt_addr_r=0x201000000\0" \ 20 "ramdisk_addr_r=0x206000000\0" \ 21 "boot_targets=" BOOT_TARGETS "\0" \ 22 "fdtfile=marvell/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" 23 24 /* 25 * High Level Configuration Options (easy to change) 26 */ 27 #define CFG_SYS_TCLK 325000000 28 29 #endif /* __X240_H_ */ 30