blob: b94ef91c2ba3f57db1ebeaebbd6d963e0b8732c1 [file] [log] [blame]
Stephan Gerhold3f1d3e42020-01-04 18:45:19 +01001/* 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
Stephan Gerholdaee9df32021-07-07 12:58:54 +020010/*
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#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_TEXT_BASE
Stephan Gerhold3f1d3e42020-01-04 18:45:19 +010019
Stephan Gerholdaee9df32021-07-07 12:58:54 +020020#define CONFIG_SYS_MALLOC_LEN SZ_2M
Stephan Gerhold3f1d3e42020-01-04 18:45:19 +010021
22/* FIXME: This should be loaded from device tree... */
23#define CONFIG_SYS_L2_PL310
24#define CONFIG_SYS_PL310_BASE 0xa0412000
25
Stephan Gerholdfa307622021-07-07 12:58:55 +020026/* Generate initrd atag for downstream kernel (others are copied in stemmy.c) */
27#define CONFIG_INITRD_TAG
28
Stephan Gerhold3f1d3e42020-01-04 18:45:19 +010029#endif