1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * Configuration settings for the SAMA5D4 Xplained ultra board. 4 * 5 * Copyright (C) 2014 Atmel 6 * Bo Shen <voice.shen@atmel.com> 7 */ 8 9 #ifndef __CONFIG_H 10 #define __CONFIG_H 11 12 #include "at91-sama5_common.h" 13 14 /* SDRAM */ 15 #define CFG_SYS_SDRAM_BASE 0x20000000 16 #define CFG_SYS_SDRAM_SIZE 0x20000000 17 18 /* NAND flash */ 19 #ifdef CONFIG_CMD_NAND 20 #define CFG_SYS_NAND_BASE 0x80000000 21 /* our ALE is AD21 */ 22 #define CFG_SYS_NAND_MASK_ALE (1 << 21) 23 /* our CLE is AD22 */ 24 #define CFG_SYS_NAND_MASK_CLE (1 << 22) 25 #endif 26 27 /* SPL */ 28 29 #endif 30