d902a0238c6f0dedf41f66f62a56ffd96345e62b
[platform/kernel/u-boot.git] / include / configs / stemmy.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net>
4  */
5 #ifndef __CONFIGS_STEMMY_H
6 #define __CONFIGS_STEMMY_H
7
8 #include <linux/sizes.h>
9
10 /*
11  * The "stemmy" U-Boot port is designed to be chainloaded by the Samsung
12  * bootloader on devices based on ST-Ericsson Ux500. Therefore, we skip most
13  * low-level initialization and rely on configuration provided by the Samsung
14  * bootloader. New images are loaded at the same address for compatibility.
15  */
16 #define CONFIG_SYS_INIT_SP_ADDR         CONFIG_SYS_TEXT_BASE
17
18 #define CONFIG_SYS_MALLOC_LEN           SZ_2M
19
20 /* FIXME: This should be loaded from device tree... */
21 #define CONFIG_SYS_L2_PL310
22 #define CONFIG_SYS_PL310_BASE           0xa0412000
23
24 /* Generate initrd atag for downstream kernel (others are copied in stemmy.c) */
25 #define CONFIG_INITRD_TAG
26
27 #endif