blob: ec980eea85652e000cbf6b47564d2e0514d57e7d [file] [log] [blame]
Patrice Chotardd29531c2023-10-27 16:43:04 +02001/* SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause */
2/*
3 * Copyright (C) 2023, STMicroelectronics - All Rights Reserved
4 *
5 * Configuration settings for the STM32MP25x CPU
6 */
7
8#ifndef __CONFIG_STM32MP25_COMMMON_H
9#define __CONFIG_STM32MP25_COMMMON_H
10#include <linux/sizes.h>
11#include <asm/arch/stm32.h>
12
13/*
14 * Configuration of the external SRAM memory used by U-Boot
15 */
16#define CFG_SYS_SDRAM_BASE STM32_DDR_BASE
17
18/*
19 * For booting Linux, use the first 256 MB of memory, since this is
20 * the maximum mapped by the Linux kernel during initialization.
21 */
22#define CFG_SYS_BOOTMAPSZ SZ_256M
23
24#endif /* __CONFIG_STM32MP25_COMMMON_H */