mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-13 00:17:23 +00:00
6a74e2537f
Use .env file for setting board related environment variables, in place of am62x_evm.h file. Except for BOOTENV settings, as config_distro_boot.env file doesn't exist. Signed-off-by: Nikhil M Jain <n-jain1@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
48 lines
1.1 KiB
C
48 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Configuration header file for K3 AM625 SoC family
|
|
*
|
|
* Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/
|
|
* Suman Anna <s-anna@ti.com>
|
|
*/
|
|
|
|
#ifndef __CONFIG_AM625_EVM_H
|
|
#define __CONFIG_AM625_EVM_H
|
|
|
|
#include <config_distro_bootcmd.h>
|
|
#include <environment/ti/mmc.h>
|
|
|
|
/* DDR Configuration */
|
|
#define CFG_SYS_SDRAM_BASE1 0x880000000
|
|
|
|
#ifdef CONFIG_CMD_MMC
|
|
#define DISTRO_BOOT_DEV_MMC(func) func(MMC, mmc, 0) func(MMC, mmc, 1)
|
|
#else
|
|
#define DISTRO_BOOT_DEV_MMC(func)
|
|
#endif
|
|
|
|
#ifdef CONFIG_CMD_PXE
|
|
#define DISTRO_BOOT_DEV_PXE(func) func(PXE, pxe, na)
|
|
#else
|
|
#define DISTRO_BOOT_DEV_PXE(func)
|
|
#endif
|
|
|
|
#ifdef CONFIG_CMD_DHCP
|
|
#define DISTRO_BOOT_DEV_DHCP(func) func(DHCP, dhcp, na)
|
|
#else
|
|
#define DISTRO_BOOT_DEV_DHCP(func)
|
|
#endif
|
|
|
|
#define BOOT_TARGET_DEVICES(func) \
|
|
DISTRO_BOOT_DEV_MMC(func) \
|
|
DISTRO_BOOT_DEV_PXE(func) \
|
|
DISTRO_BOOT_DEV_DHCP(func)
|
|
|
|
/* Incorporate settings into the U-Boot environment */
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
|
BOOTENV
|
|
|
|
/* Now for the remaining common defines */
|
|
#include <configs/ti_armv7_common.h>
|
|
|
|
#endif /* __CONFIG_AM625_EVM_H */
|