]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
246771b1 | 2 | /* |
3bc599c9 | 3 | * Copyright (C) 2017, STMicroelectronics - All Rights Reserved |
0f8106f8 | 4 | * Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. |
246771b1 PC |
5 | */ |
6 | ||
7 | #ifndef __CONFIG_H | |
8 | #define __CONFIG_H | |
9 | ||
10 | #include <config.h> | |
8ee5e3c8 PC |
11 | #include <linux/sizes.h> |
12 | ||
13 | /* For booting Linux, use the first 16MB of memory */ | |
14 | #define CONFIG_SYS_BOOTMAPSZ SZ_16M | |
246771b1 PC |
15 | |
16 | #define CONFIG_SYS_FLASH_BASE 0x08000000 | |
246771b1 | 17 | |
aa5e3e22 | 18 | #define CONFIG_SYS_HZ_CLOCK 1000000 |
246771b1 | 19 | |
e2158a5f PC |
20 | #define BOOT_TARGET_DEVICES(func) \ |
21 | func(MMC, mmc, 0) | |
22 | ||
23 | #include <config_distro_bootcmd.h> | |
24 | #define CONFIG_EXTRA_ENV_SETTINGS \ | |
25 | "kernel_addr_r=0xD0008000\0" \ | |
26 | "fdtfile=stm32h743i-eval.dtb\0" \ | |
638c2058 PC |
27 | "fdt_addr_r=0xD0408000\0" \ |
28 | "scriptaddr=0xD0418000\0" \ | |
29 | "pxefile_addr_r=0xD0428000\0" \ | |
30 | "ramdisk_addr_r=0xD0438000\0" \ | |
e2158a5f | 31 | BOOTENV |
246771b1 | 32 | |
246771b1 | 33 | #endif /* __CONFIG_H */ |