1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Marvell Semiconductor <www.marvell.com>
5 * Written-by: Lei Wen <leiwen@marvell.com>
9 * This file should be included in board config header file.
11 * It supports common definitions for MVEBU platforms
14 #ifndef _MVEBU_CONFIG_H
15 #define _MVEBU_CONFIG_H
17 #include <asm/arch/soc.h>
19 #if defined(CONFIG_ARMADA_XP) || defined(CONFIG_ARMADA_375) \
20 || defined(CONFIG_ARMADA_38X) || defined(CONFIG_ARMADA_MSYS)
22 * Set this for the common xor register definitions needed in dram.c
23 * for A38x as well here.
25 #define MV88F78X60 /* for the DDR training bin_hdr code */
28 #define MV_UART_CONSOLE_BASE MVEBU_UART0_BASE
30 /* Needed for SPI NOR booting in SPL */
31 #define CONFIG_DM_SEQ_ALIAS 1
33 #endif /* __MVEBU_CONFIG_H */