1246771b1SPatrice Chotard /* 2246771b1SPatrice Chotard * Copyright (C) STMicroelectronics SA 2017 3246771b1SPatrice Chotard * Author(s): Patrice CHOTARD, <patrice.chotard@st.com> for STMicroelectronics. 4246771b1SPatrice Chotard * 5246771b1SPatrice Chotard * SPDX-License-Identifier: GPL-2.0+ 6246771b1SPatrice Chotard */ 7246771b1SPatrice Chotard 8246771b1SPatrice Chotard #ifndef __CONFIG_H 9246771b1SPatrice Chotard #define __CONFIG_H 10246771b1SPatrice Chotard 11246771b1SPatrice Chotard #include <config.h> 12246771b1SPatrice Chotard 13246771b1SPatrice Chotard #define CONFIG_SYS_FLASH_BASE 0x08000000 14*ca4abdcdSPatrice Chotard #define CONFIG_SYS_INIT_SP_ADDR 0x24040000 15246771b1SPatrice Chotard #define CONFIG_SYS_TEXT_BASE 0x08000000 16246771b1SPatrice Chotard 17246771b1SPatrice Chotard /* 18246771b1SPatrice Chotard * Configuration of the external SDRAM memory 19246771b1SPatrice Chotard */ 20246771b1SPatrice Chotard #define CONFIG_NR_DRAM_BANKS 1 21246771b1SPatrice Chotard #define CONFIG_SYS_RAM_BASE 0xD0000000 22246771b1SPatrice Chotard #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_RAM_BASE 23246771b1SPatrice Chotard #define CONFIG_SYS_LOAD_ADDR 0xD0400000 24246771b1SPatrice Chotard #define CONFIG_LOADADDR 0xD0400000 25246771b1SPatrice Chotard 26246771b1SPatrice Chotard #define CONFIG_ENV_SIZE (8 << 10) 27246771b1SPatrice Chotard 28246771b1SPatrice Chotard #define CONFIG_SYS_ARCH_TIMER 29246771b1SPatrice Chotard #define CONFIG_SYS_HZ_CLOCK 250000000 30246771b1SPatrice Chotard 31246771b1SPatrice Chotard #define CONFIG_CMDLINE_TAG 32246771b1SPatrice Chotard #define CONFIG_SETUP_MEMORY_TAGS 33246771b1SPatrice Chotard #define CONFIG_INITRD_TAG 34246771b1SPatrice Chotard #define CONFIG_REVISION_TAG 35246771b1SPatrice Chotard 36246771b1SPatrice Chotard #define CONFIG_SYS_MAXARGS 16 37246771b1SPatrice Chotard #define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024) 38246771b1SPatrice Chotard 39246771b1SPatrice Chotard #define CONFIG_BOOTARGS \ 40246771b1SPatrice Chotard "console=ttyS0,115200 earlyprintk consoleblank=0 ignore_loglevel" 41246771b1SPatrice Chotard 42246771b1SPatrice Chotard /* 43246771b1SPatrice Chotard * Command line configuration. 44246771b1SPatrice Chotard */ 45246771b1SPatrice Chotard #define CONFIG_SYS_LONGHELP 46246771b1SPatrice Chotard #define CONFIG_AUTO_COMPLETE 47246771b1SPatrice Chotard #define CONFIG_CMDLINE_EDITING 48246771b1SPatrice Chotard #define CONFIG_CMD_CACHE 49246771b1SPatrice Chotard #define CONFIG_BOARD_LATE_INIT 50246771b1SPatrice Chotard 51246771b1SPatrice Chotard #endif /* __CONFIG_H */ 52