blob: 7bf07809b05125f0f1f440cc1ce9e7ac71d1ecc8 [file] [log] [blame]
Vignesh Raghavendrabf9bca72022-05-25 13:38:49 +05301/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Configuration header file for K3 AM625 SoC family
4 *
5 * Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/
6 * Suman Anna <s-anna@ti.com>
7 */
8
9#ifndef __CONFIG_AM625_EVM_H
10#define __CONFIG_AM625_EVM_H
11
12#include <config_distro_bootcmd.h>
13#include <environment/ti/mmc.h>
14
15/* DDR Configuration */
Tom Rinibb4dd962022-11-16 13:10:37 -050016#define CFG_SYS_SDRAM_BASE1 0x880000000
Vignesh Raghavendrabf9bca72022-05-25 13:38:49 +053017
Martyn Welch70651cc2022-12-20 18:38:19 +000018#ifdef CONFIG_CMD_MMC
19#define DISTRO_BOOT_DEV_MMC(func) func(MMC, mmc, 0) func(MMC, mmc, 1)
20#else
21#define DISTRO_BOOT_DEV_MMC(func)
22#endif
23
24#ifdef CONFIG_CMD_PXE
25#define DISTRO_BOOT_DEV_PXE(func) func(PXE, pxe, na)
26#else
27#define DISTRO_BOOT_DEV_PXE(func)
28#endif
29
30#ifdef CONFIG_CMD_DHCP
31#define DISTRO_BOOT_DEV_DHCP(func) func(DHCP, dhcp, na)
32#else
33#define DISTRO_BOOT_DEV_DHCP(func)
34#endif
35
36#define BOOT_TARGET_DEVICES(func) \
37 DISTRO_BOOT_DEV_MMC(func) \
38 DISTRO_BOOT_DEV_PXE(func) \
39 DISTRO_BOOT_DEV_DHCP(func)
40
Vignesh Raghavendrabf9bca72022-05-25 13:38:49 +053041/* Incorporate settings into the U-Boot environment */
Tom Rinic9edebe2022-12-04 10:03:50 -050042#define CFG_EXTRA_ENV_SETTINGS \
Martyn Welch70651cc2022-12-20 18:38:19 +000043 BOOTENV
Vignesh Raghavendrabf9bca72022-05-25 13:38:49 +053044
45/* Now for the remaining common defines */
46#include <configs/ti_armv7_common.h>
47
48#endif /* __CONFIG_AM625_EVM_H */