Chris Packham | 67b7d50 | 2022-11-05 17:24:00 +1300 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2018 Marvell International Ltd |
| 4 | */ |
| 5 | |
| 6 | #ifndef _CONFIG_MVEBU_ALLEYCAY_5_H |
| 7 | #define _CONFIG_MVEBU_ALLEYCAY_5_H |
| 8 | |
| 9 | #include <asm/arch/soc.h> |
| 10 | |
| 11 | /* additions for new ARM relocation support */ |
| 12 | #define CONFIG_SYS_SDRAM_BASE 0x200000000 |
| 13 | |
| 14 | #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \ |
| 15 | 115200, 230400, 460800, 921600 } |
| 16 | |
| 17 | /* Default Env vars */ |
| 18 | #define CONFIG_IPADDR 0.0.0.0 /* In order to cause an error */ |
| 19 | #define CONFIG_SERVERIP 0.0.0.0 /* In order to cause an error */ |
| 20 | #define CONFIG_NETMASK 255.255.255.0 |
| 21 | #define CONFIG_GATEWAYIP 0.0.0.0 |
| 22 | #define CONFIG_ROOTPATH "/srv/nfs/" /* Default Dir for NFS */ |
| 23 | |
| 24 | #define BOOT_TARGET_DEVICES(func) \ |
| 25 | func(USB, usb, 0) \ |
| 26 | func(DHCP, dhcp, na) |
| 27 | |
| 28 | #include <config_distro_bootcmd.h> |
| 29 | |
| 30 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 31 | BOOTENV \ |
| 32 | "kernel_addr_r=0x202000000\0" \ |
| 33 | "fdt_addr_r=0x201000000\0" \ |
| 34 | "ramdisk_addr_r=0x206000000\0" \ |
| 35 | "fdtfile=marvell/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" |
| 36 | |
| 37 | /* |
| 38 | * High Level Configuration Options (easy to change) |
| 39 | */ |
| 40 | #define CONFIG_SYS_TCLK 325000000 |
| 41 | |
| 42 | #endif /* _CONFIG_MVEBU_ALLEYCAY_5_H */ |