blob: 4c7cfac8af75f5d31b8bbd2c18256de5b4239544 [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
Padmarao Begari68eccfa2021-01-15 08:20:40 +053012#define CONFIG_SYS_SDRAM_BASE 0x80000000
Padmarao Begari4216f342019-05-28 15:47:51 +053013
Padmarao Begari68eccfa2021-01-15 08:20:40 +053014#define CONFIG_STANDALONE_LOAD_ADDR 0x80200000
Padmarao Begari4216f342019-05-28 15:47:51 +053015
Padmarao Begari68eccfa2021-01-15 08:20:40 +053016/* Environment options */
Padmarao Begari4216f342019-05-28 15:47:51 +053017
Padmarao Begari68eccfa2021-01-15 08:20:40 +053018#define BOOT_TARGET_DEVICES(func) \
19 func(MMC, mmc, 0) \
20 func(DHCP, dhcp, na)
Padmarao Begari4216f342019-05-28 15:47:51 +053021
Padmarao Begari68eccfa2021-01-15 08:20:40 +053022#include <config_distro_bootcmd.h>
Padmarao Begari4216f342019-05-28 15:47:51 +053023
Padmarao Begari68eccfa2021-01-15 08:20:40 +053024#define CONFIG_EXTRA_ENV_SETTINGS \
25 "bootm_size=0x10000000\0" \
26 "kernel_addr_r=0x84000000\0" \
27 "fdt_addr_r=0x88000000\0" \
28 "scriptaddr=0x88100000\0" \
29 "pxefile_addr_r=0x88200000\0" \
30 "ramdisk_addr_r=0x88300000\0" \
31 BOOTENV
Padmarao Begari4216f342019-05-28 15:47:51 +053032
33#endif /* __CONFIG_H */