43cfe51719c54e69513e1693b870bb3a11251f1e
[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_SKIP_LOWLEVEL_INIT
17 #define CONFIG_SYS_INIT_SP_ADDR         CONFIG_SYS_TEXT_BASE
18
19 #define CONFIG_SYS_MALLOC_LEN           SZ_2M
20
21 /* FIXME: This should be loaded from device tree... */
22 #define CONFIG_SYS_L2_PL310
23 #define CONFIG_SYS_PL310_BASE           0xa0412000
24
25 /* Generate initrd atag for downstream kernel (others are copied in stemmy.c) */
26 #define CONFIG_INITRD_TAG
27
28 #endif