1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Configuration file for the SAMA7G5EK Board.
5 * Copyright (C) 2020 Microchip Corporation
6 * Eugen Hristev <eugen.hristev@microchip.com>
12 #define CONFIG_SYS_AT91_SLOW_CLOCK 32768
13 #define CONFIG_SYS_AT91_MAIN_CLOCK 24000000 /* from 24 MHz crystal */
14 #define CONFIG_SYS_BOOTM_LEN SZ_32M
16 #define CONFIG_SYS_SDRAM_BASE 0x60000000
17 #define CONFIG_SYS_SDRAM_SIZE 0x20000000
19 #ifdef CONFIG_SPL_BUILD
20 #define CONFIG_SYS_INIT_SP_ADDR 0x218000
22 #define CONFIG_SYS_INIT_SP_ADDR \
23 (CONFIG_SYS_SDRAM_BASE + 16 * 1024 + CONFIG_SYS_MALLOC_F_LEN - \
24 GENERATED_GBL_DATA_SIZE)
27 #ifndef CONFIG_BOOTCOMMAND
29 /* u-boot env in sd/mmc card */
31 /* bootstrap + u-boot + env in sd card */
32 #define CONFIG_BOOTCOMMAND "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x61000000 at91-sama7g5ek.dtb; " \
33 "fatload mmc " CONFIG_ENV_FAT_DEVICE_AND_PART " 0x62000000 zImage; " \
34 "bootz 0x62000000 - 0x61000000"
36 #define CONFIG_BOOTCOMMAND "Place your bootcommand here"
41 #define CONFIG_ARP_TIMEOUT 200
42 #define CONFIG_NET_RETRY_COUNT 50