blob: a072b21dfb863bce06d84bc5b86953dec4befd1b [file] [log] [blame]
Eugen Hristevf0854522018-07-06 11:15:10 +03001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Configuration file for the SAMA5D2 ICP Board.
4 *
5 * Copyright (C) 2018 Microchip Corporation
6 * Eugen Hristev <eugen.hristev@microchip.com>
7 */
8
9#ifndef __CONFIG_H
10#define __CONFIG_H
11
12#include "at91-sama5_common.h"
13
Tom Rini65cc0e22022-11-16 13:10:41 -050014#undef CFG_SYS_AT91_MAIN_CLOCK
15#define CFG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */
Eugen Hristevf0854522018-07-06 11:15:10 +030016
Eugen Hristevf0854522018-07-06 11:15:10 +030017/* SDRAM */
Tom Riniaa6e94d2022-11-16 13:10:37 -050018#define CFG_SYS_SDRAM_BASE 0x20000000
19#define CFG_SYS_SDRAM_SIZE 0x20000000
Eugen Hristevf0854522018-07-06 11:15:10 +030020
Eugen Hristevf0854522018-07-06 11:15:10 +030021#ifdef CONFIG_SD_BOOT
22/* u-boot env in sd/mmc card */
23#define FAT_ENV_INTERFACE "mmc"
24#define FAT_ENV_DEVICE_AND_PART "0"
25#define FAT_ENV_FILE "uboot.env"
Eugen Hristevf0854522018-07-06 11:15:10 +030026/* bootstrap + u-boot + env in sd card */
Eugen Hristevf0854522018-07-06 11:15:10 +030027#endif
28
29/* SPL */
Eugen Hristevf0854522018-07-06 11:15:10 +030030
Eugen Hristevf0854522018-07-06 11:15:10 +030031#endif