1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2018 Allied Telesis Labs
10 * High Level Configuration Options (easy to change)
14 * NS16550 Configuration
16 #define CFG_SYS_NS16550_CLK CFG_SYS_TCLK
17 #if !defined(CONFIG_DM_SERIAL)
18 #define CFG_SYS_NS16550_COM1 MV_UART_CONSOLE_BASE
22 * Serial Port configuration
23 * The following definitions let you select what serial you want to use
24 * for your console driver.
29 #define BBT_CUSTOM_SCAN
30 #define BBT_CUSTOM_SCAN_PAGE 0
31 #define BBT_CUSTOM_SCAN_POSITION 2048
33 /* SPI NOR flash default params, used by sf commands */
35 #define MTDPARTS_MTDOOPS "errlog"
37 /* Partition support */
39 /* Additional FS support/configuration */
41 /* Environment in SPI NOR flash */
43 #define PHY_ANEG_TIMEOUT 8000 /* PHY needs a longer aneg time */
47 #include <asm/arch/config.h>
49 /* Keep device tree and initrd in low memory so the kernel can access them */
50 #define CONFIG_EXTRA_ENV_SETTINGS \
51 "fdt_high=0x10000000\0" \
52 "initrd_high=0x10000000\0"
54 #define CONFIG_UBI_PART user
55 #define CONFIG_UBIFS_VOLUME user
57 #endif /* _CONFIG_X530_H */