blob: 655c8d6af5dab785c0573473e6e2dd3ebfe69998 [file] [log] [blame]
Padmarao Begari39494822019-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 Begari64413e12021-01-15 08:20:40 +053010#include <linux/sizes.h>
Padmarao Begari39494822019-05-28 15:47:51 +053011
Padmarao Begari64413e12021-01-15 08:20:40 +053012#define CONFIG_SYS_SDRAM_BASE 0x80000000
13#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M)
Padmarao Begari39494822019-05-28 15:47:51 +053014
Padmarao Begari64413e12021-01-15 08:20:40 +053015#define CONFIG_SYS_BOOTM_LEN SZ_64M
Padmarao Begari39494822019-05-28 15:47:51 +053016
Padmarao Begari64413e12021-01-15 08:20:40 +053017#define CONFIG_STANDALONE_LOAD_ADDR 0x80200000
Padmarao Begari39494822019-05-28 15:47:51 +053018
Padmarao Begari64413e12021-01-15 08:20:40 +053019/* Environment options */
Padmarao Begari39494822019-05-28 15:47:51 +053020
Padmarao Begari64413e12021-01-15 08:20:40 +053021#define BOOT_TARGET_DEVICES(func) \
22 func(MMC, mmc, 0) \
23 func(DHCP, dhcp, na)
Padmarao Begari39494822019-05-28 15:47:51 +053024
Padmarao Begari64413e12021-01-15 08:20:40 +053025#include <config_distro_bootcmd.h>
Padmarao Begari39494822019-05-28 15:47:51 +053026
Padmarao Begari64413e12021-01-15 08:20:40 +053027#define CONFIG_EXTRA_ENV_SETTINGS \
28 "bootm_size=0x10000000\0" \
29 "kernel_addr_r=0x84000000\0" \
30 "fdt_addr_r=0x88000000\0" \
31 "scriptaddr=0x88100000\0" \
32 "pxefile_addr_r=0x88200000\0" \
33 "ramdisk_addr_r=0x88300000\0" \
34 BOOTENV
Padmarao Begari39494822019-05-28 15:47:51 +053035
36#endif /* __CONFIG_H */