mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 10:54:37 +00:00

CFG_SYS_SPI_* are used in falcon boot to specify the offsets and size of the respective payloads. This patch moves them to Kconfig keeping the values consistent for each of the affected boards. Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Anshul Dalal <anshuld@ti.com>
40 lines
878 B
C
40 lines
878 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2014
|
|
* Texas Instruments Incorporated.
|
|
* Felipe Balbi <balbi@ti.com>
|
|
*
|
|
* Configuration settings for the TI Beagle x15 board.
|
|
* See ti_omap5_common.h for omap5 common settings.
|
|
*/
|
|
|
|
#ifndef __CONFIG_AM57XX_EVM_H
|
|
#define __CONFIG_AM57XX_EVM_H
|
|
|
|
#include <env/ti/dfu.h>
|
|
#include <linux/sizes.h>
|
|
|
|
#define CFG_SYS_NS16550_COM1 UART1_BASE /* Base EVM has UART0 */
|
|
#define CFG_SYS_NS16550_COM2 UART2_BASE /* UART2 */
|
|
#define CFG_SYS_NS16550_COM3 UART3_BASE /* UART3 */
|
|
|
|
#ifndef CONFIG_XPL_BUILD
|
|
#define DFUARGS \
|
|
"dfu_bufsiz=0x10000\0" \
|
|
DFU_ALT_INFO_MMC \
|
|
DFU_ALT_INFO_EMMC \
|
|
DFU_ALT_INFO_RAM \
|
|
DFU_ALT_INFO_QSPI
|
|
#else
|
|
#ifdef CONFIG_SPL_DFU
|
|
#define DFUARGS \
|
|
"dfu_bufsiz=0x10000\0" \
|
|
DFU_ALT_INFO_RAM
|
|
#endif
|
|
#endif
|
|
|
|
#include <configs/ti_omap5_common.h>
|
|
|
|
/* CPSW Ethernet */
|
|
|
|
#endif /* __CONFIG_AM57XX_EVM_H */
|