2020-03-10 09:56:38 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* Configuration file for the SAMA7G5EK Board.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2020 Microchip Corporation
|
|
|
|
* Eugen Hristev <eugen.hristev@microchip.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
|
|
|
#define CONFIG_SYS_AT91_SLOW_CLOCK 32768
|
|
|
|
#define CONFIG_SYS_AT91_MAIN_CLOCK 24000000 /* from 24 MHz crystal */
|
2021-04-29 11:58:21 +00:00
|
|
|
#define CONFIG_SYS_BOOTM_LEN SZ_32M
|
2020-03-10 09:56:38 +00:00
|
|
|
/* SDRAM */
|
|
|
|
#define CONFIG_SYS_SDRAM_BASE 0x60000000
|
|
|
|
#define CONFIG_SYS_SDRAM_SIZE 0x20000000
|
|
|
|
|
2022-05-24 17:11:41 +00:00
|
|
|
#define CONFIG_SPL_STACK 0x218000
|
2020-03-10 09:56:38 +00:00
|
|
|
#define CONFIG_SYS_INIT_SP_ADDR \
|
2020-06-02 07:32:08 +00:00
|
|
|
(CONFIG_SYS_SDRAM_BASE + 16 * 1024 + CONFIG_SYS_MALLOC_F_LEN - \
|
|
|
|
GENERATED_GBL_DATA_SIZE)
|
2020-03-10 09:56:38 +00:00
|
|
|
|
|
|
|
#endif
|