mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
board: stm32: remove fdt_high and fdt_highinitrd_high
For stm32 f4, f7 and h7 boards, remove fdt_high and initrd_high as they shouldn't be used, this allows the fdt and initrd relocation. This implies to set CONFIG_SYS_BOOTMAPSZ to indicate the amount of memory available to contain kernel, device tree and initrd for relocation. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrick DELAUNAY <patrick.delaunay@st.com>
This commit is contained in:
committed by
Patrick Delaunay
parent
638c2058f8
commit
8ee5e3c81f
@@ -7,6 +7,11 @@
|
||||
#ifndef __CONFIG_H
|
||||
#define __CONFIG_H
|
||||
|
||||
#include <linux/sizes.h>
|
||||
|
||||
/* For booting Linux, use the first 16MB of memory */
|
||||
#define CONFIG_SYS_BOOTMAPSZ SZ_16M
|
||||
|
||||
#define CONFIG_SYS_FLASH_BASE 0x08000000
|
||||
|
||||
#define CONFIG_SYS_INIT_SP_ADDR 0x10010000
|
||||
@@ -44,8 +49,6 @@
|
||||
"scriptaddr=0x00418000\0" \
|
||||
"pxefile_addr_r=0x00428000\0" \
|
||||
"ramdisk_addr_r=0x00438000\0" \
|
||||
"fdt_high=0xffffffffffffffff\0" \
|
||||
"initrd_high=0xffffffffffffffff\0" \
|
||||
BOOTENV
|
||||
|
||||
/*
|
||||
|
@@ -7,6 +7,11 @@
|
||||
#ifndef __CONFIG_H
|
||||
#define __CONFIG_H
|
||||
|
||||
#include <linux/sizes.h>
|
||||
|
||||
/* For booting Linux, use the first 12MB of memory */
|
||||
#define CONFIG_SYS_BOOTMAPSZ SZ_8M + SZ_4M
|
||||
|
||||
#define CONFIG_SYS_FLASH_BASE 0x08000000
|
||||
|
||||
#define CONFIG_SYS_INIT_SP_ADDR 0x10010000
|
||||
@@ -44,8 +49,6 @@
|
||||
"scriptaddr=0x00418000\0" \
|
||||
"pxefile_addr_r=0x00428000\0" \
|
||||
"ramdisk_addr_r=0x00438000\0" \
|
||||
"fdt_high=0xffffffffffffffff\0" \
|
||||
"initrd_high=0xffffffffffffffff\0" \
|
||||
BOOTENV
|
||||
|
||||
/*
|
||||
|
@@ -7,6 +7,11 @@
|
||||
#ifndef __CONFIG_H
|
||||
#define __CONFIG_H
|
||||
|
||||
#include <linux/sizes.h>
|
||||
|
||||
/* For booting Linux, use the first 6MB of memory */
|
||||
#define CONFIG_SYS_BOOTMAPSZ SZ_4M + SZ_2M
|
||||
|
||||
#define CONFIG_SYS_FLASH_BASE 0x08000000
|
||||
#define CONFIG_SYS_INIT_SP_ADDR 0x20050000
|
||||
|
||||
@@ -52,8 +57,6 @@
|
||||
"scriptaddr=0xC0418000\0" \
|
||||
"pxefile_addr_r=0xC0428000\0" \
|
||||
"ramdisk_addr_r=0xC0438000\0" \
|
||||
"fdt_high=0xffffffffffffffff\0" \
|
||||
"initrd_high=0xffffffffffffffff\0" \
|
||||
BOOTENV
|
||||
|
||||
/*
|
||||
|
@@ -8,6 +8,10 @@
|
||||
#define __CONFIG_H
|
||||
|
||||
#include <config.h>
|
||||
#include <linux/sizes.h>
|
||||
|
||||
/* For booting Linux, use the first 16MB of memory */
|
||||
#define CONFIG_SYS_BOOTMAPSZ SZ_16M
|
||||
|
||||
#define CONFIG_SYS_FLASH_BASE 0x08000000
|
||||
#define CONFIG_SYS_INIT_SP_ADDR 0x24040000
|
||||
@@ -39,8 +43,6 @@
|
||||
"scriptaddr=0xD0418000\0" \
|
||||
"pxefile_addr_r=0xD0428000\0" \
|
||||
"ramdisk_addr_r=0xD0438000\0" \
|
||||
"fdt_high=0xffffffffffffffff\0" \
|
||||
"initrd_high=0xffffffffffffffff\0" \
|
||||
BOOTENV
|
||||
|
||||
/*
|
||||
|
@@ -8,6 +8,10 @@
|
||||
#define __CONFIG_H
|
||||
|
||||
#include <config.h>
|
||||
#include <linux/sizes.h>
|
||||
|
||||
/* For booting Linux, use the first 16MB of memory */
|
||||
#define CONFIG_SYS_BOOTMAPSZ SZ_16M
|
||||
|
||||
#define CONFIG_SYS_FLASH_BASE 0x08000000
|
||||
#define CONFIG_SYS_INIT_SP_ADDR 0x24040000
|
||||
@@ -39,8 +43,6 @@
|
||||
"scriptaddr=0xD0418000\0" \
|
||||
"pxefile_addr_r=0xD0428000\0" \
|
||||
"ramdisk_addr_r=0xD0438000\0" \
|
||||
"fdt_high=0xffffffffffffffff\0" \
|
||||
"initrd_high=0xffffffffffffffff\0" \
|
||||
BOOTENV
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user