mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
board: ti: am57xx: Change to using .env
Move to using .env file for setting up environment variables for am57xx and dra7xx. Signed-off-by: Anurag Dutta <a-dutta@ti.com>
This commit is contained in:
@@ -11,30 +11,13 @@
|
||||
#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 */
|
||||
|
||||
#include <configs/ti_omap5_common.h>
|
||||
#endif /* __CONFIG_AM57XX_EVM_H */
|
||||
|
||||
@@ -11,40 +11,16 @@
|
||||
#ifndef __CONFIG_DRA7XX_EVM_H
|
||||
#define __CONFIG_DRA7XX_EVM_H
|
||||
|
||||
#include <env/ti/dfu.h>
|
||||
|
||||
#define CFG_MAX_MEM_MAPPED 0x80000000
|
||||
|
||||
#ifndef CONFIG_QSPI_BOOT
|
||||
/* MMC ENV related defines */
|
||||
#endif
|
||||
|
||||
#if (CONFIG_CONS_INDEX == 1)
|
||||
#define CONSOLEDEV "ttyS0"
|
||||
#elif (CONFIG_CONS_INDEX == 3)
|
||||
#define CONSOLEDEV "ttyS2"
|
||||
#endif
|
||||
#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
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XPL_BUILD
|
||||
#ifdef CONFIG_SPL_DFU
|
||||
#define DFUARGS \
|
||||
"dfu_bufsiz=0x10000\0" \
|
||||
DFU_ALT_INFO_RAM
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <configs/ti_omap5_common.h>
|
||||
|
||||
/* NAND support */
|
||||
|
||||
Reference in New Issue
Block a user