blob: 5ced45b88b2dcb2f9cd93ceb9938342057263d2a [file] [log] [blame]
Padmarao Begari4216f342019-05-28 15:47:51 +05301/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2019 Microchip Technology Inc.
4 * Padmarao Begari <padmarao.begari@microchip.com>
5 */
6
7#ifndef __CONFIG_H
8#define __CONFIG_H
9
Padmarao Begari68eccfa2021-01-15 08:20:40 +053010#include <linux/sizes.h>
Padmarao Begari4216f342019-05-28 15:47:51 +053011
Tom Rinibb4dd962022-11-16 13:10:37 -050012#define CFG_SYS_SDRAM_BASE 0x80000000
Padmarao Begari4216f342019-05-28 15:47:51 +053013
Padmarao Begari68eccfa2021-01-15 08:20:40 +053014/* Environment options */
Padmarao Begari4216f342019-05-28 15:47:51 +053015
Padmarao Begari68eccfa2021-01-15 08:20:40 +053016#define BOOT_TARGET_DEVICES(func) \
17 func(MMC, mmc, 0) \
18 func(DHCP, dhcp, na)
Padmarao Begari4216f342019-05-28 15:47:51 +053019
Padmarao Begari68eccfa2021-01-15 08:20:40 +053020#include <config_distro_bootcmd.h>
Padmarao Begari4216f342019-05-28 15:47:51 +053021
Tom Rinic9edebe2022-12-04 10:03:50 -050022#define CFG_EXTRA_ENV_SETTINGS \
Padmarao Begari68eccfa2021-01-15 08:20:40 +053023 "bootm_size=0x10000000\0" \
24 "kernel_addr_r=0x84000000\0" \
25 "fdt_addr_r=0x88000000\0" \
26 "scriptaddr=0x88100000\0" \
27 "pxefile_addr_r=0x88200000\0" \
28 "ramdisk_addr_r=0x88300000\0" \
29 BOOTENV
Padmarao Begari4216f342019-05-28 15:47:51 +053030
31#endif /* __CONFIG_H */