2022-05-25 08:08:49 +00:00
|
|
|
/* 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 */
|
2022-11-16 18:10:37 +00:00
|
|
|
#define CFG_SYS_SDRAM_BASE1 0x880000000
|
2022-05-25 08:08:49 +00:00
|
|
|
|
2022-12-20 18:38:19 +00:00
|
|
|
#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)
|
|
|
|
|
2022-05-25 08:08:49 +00:00
|
|
|
/* Incorporate settings into the U-Boot environment */
|
2022-12-04 15:03:50 +00:00
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
2022-12-20 18:38:19 +00:00
|
|
|
BOOTENV
|
2022-05-25 08:08:49 +00:00
|
|
|
|
|
|
|
/* Now for the remaining common defines */
|
|
|
|
#include <configs/ti_armv7_common.h>
|
|
|
|
|
|
|
|
#endif /* __CONFIG_AM625_EVM_H */
|