1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * Copyright 2014 Broadcom Corporation. 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * SPDX-License-Identifier: GPL-2.0+ 5*4882a593Smuzhiyun */ 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun #ifndef __BCM_EP_BOARD_H 8*4882a593Smuzhiyun #define __BCM_EP_BOARD_H 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun #include <asm/arch/configs.h> 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun #define CONFIG_SKIP_LOWLEVEL_INIT 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun /* 15*4882a593Smuzhiyun * Memory configuration 16*4882a593Smuzhiyun * (these must be defined elsewhere) 17*4882a593Smuzhiyun */ 18*4882a593Smuzhiyun #ifndef CONFIG_SYS_TEXT_BASE 19*4882a593Smuzhiyun #error CONFIG_SYS_TEXT_BASE must be defined! 20*4882a593Smuzhiyun #endif 21*4882a593Smuzhiyun #ifndef CONFIG_SYS_SDRAM_BASE 22*4882a593Smuzhiyun #error CONFIG_SYS_SDRAM_BASE must be defined! 23*4882a593Smuzhiyun #endif 24*4882a593Smuzhiyun #ifndef CONFIG_SYS_SDRAM_SIZE 25*4882a593Smuzhiyun #error CONFIG_SYS_SDRAM_SIZE must be defined! 26*4882a593Smuzhiyun #endif 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun #define CONFIG_NR_DRAM_BANKS 1 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun #define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024) 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun /* Some commands use this as the default load address */ 33*4882a593Smuzhiyun #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun /* 36*4882a593Smuzhiyun * This is the initial SP which is used only briefly for relocating the u-boot 37*4882a593Smuzhiyun * image to the top of SDRAM. After relocation u-boot moves the stack to the 38*4882a593Smuzhiyun * proper place. 39*4882a593Smuzhiyun */ 40*4882a593Smuzhiyun #define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun /* allow to overwrite serial and ethaddr */ 43*4882a593Smuzhiyun #define CONFIG_ENV_OVERWRITE 44*4882a593Smuzhiyun 45*4882a593Smuzhiyun /* Serial Info */ 46*4882a593Smuzhiyun #define CONFIG_SYS_NS16550_SERIAL 47*4882a593Smuzhiyun 48*4882a593Smuzhiyun #define CONFIG_ENV_SIZE 0x2000 49*4882a593Smuzhiyun 50*4882a593Smuzhiyun /* console configuration */ 51*4882a593Smuzhiyun #define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */ 52*4882a593Smuzhiyun #define CONFIG_SYS_MAXARGS 64 53*4882a593Smuzhiyun #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE 54*4882a593Smuzhiyun 55*4882a593Smuzhiyun /* version string, parser, etc */ 56*4882a593Smuzhiyun #define CONFIG_AUTO_COMPLETE 57*4882a593Smuzhiyun #define CONFIG_CMDLINE_EDITING 58*4882a593Smuzhiyun #define CONFIG_SYS_LONGHELP 59*4882a593Smuzhiyun 60*4882a593Smuzhiyun #define CONFIG_MX_CYCLIC 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun /* Enable Time Command */ 63*4882a593Smuzhiyun 64*4882a593Smuzhiyun /* Misc utility code */ 65*4882a593Smuzhiyun #define CONFIG_BOUNCE_BUFFER 66*4882a593Smuzhiyun 67*4882a593Smuzhiyun #endif /* __BCM_EP_BOARD_H */ 68