1 /* 2 * Copyright 2014 Broadcom Corporation. 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 7 #ifndef __BCM_EP_BOARD_H 8 #define __BCM_EP_BOARD_H 9 10 #include <asm/arch/configs.h> 11 12 #define CONFIG_SKIP_LOWLEVEL_INIT 13 14 #define CONFIG_SYS_GENERIC_BOARD 15 16 /* 17 * Memory configuration 18 * (these must be defined elsewhere) 19 */ 20 #ifndef CONFIG_SYS_TEXT_BASE 21 #error CONFIG_SYS_TEXT_BASE must be defined! 22 #endif 23 #ifndef CONFIG_SYS_SDRAM_BASE 24 #error CONFIG_SYS_SDRAM_BASE must be defined! 25 #endif 26 #ifndef CONFIG_SYS_SDRAM_SIZE 27 #error CONFIG_SYS_SDRAM_SIZE must be defined! 28 #endif 29 30 #define CONFIG_NR_DRAM_BANKS 1 31 32 #define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024) 33 #define CONFIG_STACKSIZE (256 * 1024) 34 35 /* Some commands use this as the default load address */ 36 #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_SDRAM_BASE 37 38 /* No mtest functions as recommended */ 39 #undef CONFIG_CMD_MEMORY 40 41 /* 42 * This is the initial SP which is used only briefly for relocating the u-boot 43 * image to the top of SDRAM. After relocation u-boot moves the stack to the 44 * proper place. 45 */ 46 #define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE 47 48 /* allow to overwrite serial and ethaddr */ 49 #define CONFIG_ENV_OVERWRITE 50 51 /* Serial Info */ 52 #define CONFIG_SYS_NS16550 53 #define CONFIG_SYS_NS16550_SERIAL 54 55 #define CONFIG_BAUDRATE 115200 56 57 #define CONFIG_ENV_SIZE 0x2000 58 #define CONFIG_ENV_IS_NOWHERE 59 60 #define CONFIG_SYS_NO_FLASH /* Not using NAND/NOR unmanaged flash */ 61 62 /* console configuration */ 63 #define CONFIG_SYS_CBSIZE 1024 /* Console buffer size */ 64 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ 65 sizeof(CONFIG_SYS_PROMPT) + 16) /* Printbuffer size */ 66 #define CONFIG_SYS_MAXARGS 64 67 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE 68 69 /* 70 * One partition type must be defined for part.c 71 * This is necessary for the fatls command to work on an SD card 72 * for example. 73 */ 74 #define CONFIG_DOS_PARTITION 75 76 /* version string, parser, etc */ 77 #define CONFIG_VERSION_VARIABLE 78 #define CONFIG_AUTO_COMPLETE 79 #define CONFIG_SYS_HUSH_PARSER 80 #define CONFIG_CMDLINE_EDITING 81 #define CONFIG_COMMAND_HISTORY 82 #define CONFIG_SYS_LONGHELP 83 84 #define CONFIG_CRC32_VERIFY 85 #define CONFIG_MX_CYCLIC 86 87 /* Commands */ 88 #include <config_cmd_default.h> 89 90 #define CONFIG_CMD_ASKENV 91 #define CONFIG_CMD_CACHE 92 #define CONFIG_CMD_FAT 93 #define CONFIG_FAT_WRITE 94 95 /* Enable devicetree support */ 96 #define CONFIG_OF_LIBFDT 97 98 /* SHA hashing */ 99 #define CONFIG_CMD_HASH 100 #define CONFIG_HASH_VERIFY 101 #define CONFIG_SHA1 102 #define CONFIG_SHA256 103 104 /* Enable Time Command */ 105 #define CONFIG_CMD_TIME 106 107 #define CONFIG_CMD_BOOTZ 108 109 /* Misc utility code */ 110 #define CONFIG_BOUNCE_BUFFER 111 #define CONFIG_CRC32_VERIFY 112 113 #endif /* __BCM_EP_BOARD_H */ 114