diff options
| author | Chris Packham <[email protected]> | 2023-07-10 10:47:36 +1200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2023-07-13 15:53:57 +0200 |
| commit | 4c97c4b5901cbbf8ed08eaf8c4f0b5f401c705c6 (patch) | |
| tree | e509a4e6f59c5a511aa2b6a64df3bd174cc170fd /include | |
| parent | e6719fab6cdbc93f1cbe05ae6f5b031cb7e07928 (diff) | |
arm: mvebu: Add Allied Telesis x240 board
The x240 and SE240 are a series of L2+ switches from Allied Telesis.
There are a number of them in the range but as far as U-Boot is
concerned all the CPU block components are the same so there's only one
board defined.
Signed-off-by: Chris Packham <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include')
| -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 00000000000..3601df588d5 --- /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_ */ |
