2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2015-10-30 01:55:52 +00:00
|
|
|
/*
|
|
|
|
* Configuration file for the SAMA5D2 Xplained Board.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2015 Atmel Corporation
|
|
|
|
* Wenyou Yang <wenyou.yang@atmel.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
|
|
|
#include "at91-sama5_common.h"
|
|
|
|
|
2016-02-01 10:18:21 +00:00
|
|
|
#ifdef CONFIG_SPL_BUILD
|
2017-03-23 06:26:28 +00:00
|
|
|
#define CONFIG_SYS_INIT_SP_ADDR 0x218000
|
2016-02-01 10:18:21 +00:00
|
|
|
#else
|
2015-10-30 01:55:52 +00:00
|
|
|
#define CONFIG_SYS_INIT_SP_ADDR \
|
2021-08-16 12:25:43 +00:00
|
|
|
(0x22000000 + 16 * 1024 - GENERATED_GBL_DATA_SIZE)
|
2016-02-01 10:18:21 +00:00
|
|
|
#endif
|
2015-10-30 01:55:52 +00:00
|
|
|
|
2016-02-01 10:18:21 +00:00
|
|
|
/* SPL */
|
|
|
|
#define CONFIG_SPL_BSS_START_ADDR 0x20000000
|
|
|
|
#define CONFIG_SYS_SPL_MALLOC_START 0x20080000
|
|
|
|
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x80000
|
|
|
|
|
|
|
|
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
|
|
|
|
|
2015-10-30 01:55:52 +00:00
|
|
|
#endif
|