Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2011 |
| 4 | * Marvell Semiconductor <www.marvell.com> |
| 5 | * Written-by: Lei Wen <leiwen@marvell.com> |
Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | /* |
| 9 | * This file should be included in board config header file. |
| 10 | * |
Stefan Roese | 7cd3484 | 2015-04-25 06:29:49 +0200 | [diff] [blame] | 11 | * It supports common definitions for MVEBU platforms |
Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 12 | */ |
| 13 | |
Stefan Roese | ebda3ec | 2015-04-25 06:29:47 +0200 | [diff] [blame] | 14 | #ifndef _MVEBU_CONFIG_H |
| 15 | #define _MVEBU_CONFIG_H |
Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 16 | |
| 17 | #include <asm/arch/soc.h> |
| 18 | |
Stefan Roese | 479f9af | 2016-02-10 07:23:00 +0100 | [diff] [blame] | 19 | #if defined(CONFIG_ARMADA_XP) || defined(CONFIG_ARMADA_375) \ |
Chris Packham | a8f845e | 2019-04-11 22:22:50 +1200 | [diff] [blame] | 20 | || defined(CONFIG_ARMADA_38X) || defined(CONFIG_ARMADA_MSYS) |
Stefan Roese | eb083e5 | 2015-12-21 13:56:33 +0100 | [diff] [blame] | 21 | /* |
| 22 | * Set this for the common xor register definitions needed in dram.c |
| 23 | * for A38x as well here. |
| 24 | */ |
Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 25 | #define MV88F78X60 /* for the DDR training bin_hdr code */ |
Stefan Roese | 7cd3484 | 2015-04-25 06:29:49 +0200 | [diff] [blame] | 26 | #endif |
Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 27 | |
Stefan Roese | 93e6bf4 | 2014-10-22 12:13:17 +0200 | [diff] [blame] | 28 | #define MV_UART_CONSOLE_BASE MVEBU_UART0_BASE |
| 29 | |
Stefan Roese | ebda3ec | 2015-04-25 06:29:47 +0200 | [diff] [blame] | 30 | #endif /* __MVEBU_CONFIG_H */ |