blob: 00d6274873385c60ce2494f74492fabb275b4ae3 [file] [log] [blame]
Lukasz Majewskif3adb662019-12-08 22:06:56 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2019 DENX Software Engineering
4 * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
5 *
6 * Copyright (C) 2018 DENX Software Engineering
7 * Måns Rullgård, DENX Software Engineering, mans@mansr.com
8 *
9 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
10 * on behalf of DENX Software Engineering GmbH
11 */
12#ifndef __CONFIGS_XEA_H__
13#define __CONFIGS_XEA_H__
14
15#include <linux/sizes.h>
16
Lukasz Majewskif3adb662019-12-08 22:06:56 +010017/* SPL */
Lukasz Majewskif3adb662019-12-08 22:06:56 +010018
Tom Rini6a5dccc2022-11-16 13:10:41 -050019#define CFG_SYS_SPI_KERNEL_OFFS SZ_1M
20#define CFG_SYS_SPI_ARGS_OFFS SZ_512K
21#define CFG_SYS_SPI_ARGS_SIZE SZ_32K
Lukasz Majewskif3adb662019-12-08 22:06:56 +010022
Lukasz Majewskif3adb662019-12-08 22:06:56 +010023/* Memory configuration */
24#define PHYS_SDRAM_1 0x40000000 /* Base address */
25#define PHYS_SDRAM_1_SIZE 0x10000000 /* Max 256 MB RAM */
Tom Rinibb4dd962022-11-16 13:10:37 -050026#define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1
Lukasz Majewskif3adb662019-12-08 22:06:56 +010027
Lukasz Majewskif3adb662019-12-08 22:06:56 +010028/* The rest of the configuration is shared */
29#include <configs/mxs.h>
30
31#endif /* __CONFIGS_XEA_H__ */