Commit 638c2058 authored by Patrice Chotard's avatar Patrice Chotard Committed by Patrick Delaunay
Browse files

board: stm32: fix extra env setings addresses



For stm32f4, f7 and h7 boards, reserve:
 - 4MB for kernel
 - 64KB for fdt, boot script, pxefile
 - the remaining memory for ramdisk
Signed-off-by: Patrice Chotard's avatarPatrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay's avatarPatrick DELAUNAY <patrick.delaunay@st.com>
parent 83ba2438
......@@ -40,12 +40,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"kernel_addr_r=0x00008000\0" \
"fdtfile=stm32429i-eval.dtb\0" \
"fdt_addr_r=0x00700000\0" \
"scriptaddr=0x00800000\0" \
"pxefile_addr_r=0x00800000\0" \
"fdt_addr_r=0x00408000\0" \
"scriptaddr=0x00418000\0" \
"pxefile_addr_r=0x00428000\0" \
"ramdisk_addr_r=0x00438000\0" \
"fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"ramdisk_addr_r=0x00900000\0" \
BOOTENV
/*
......
......@@ -40,12 +40,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"kernel_addr_r=0x00008000\0" \
"fdtfile=stm32f469-disco.dtb\0" \
"fdt_addr_r=0x00700000\0" \
"scriptaddr=0x00800000\0" \
"pxefile_addr_r=0x00800000\0" \
"fdt_addr_r=0x00408000\0" \
"scriptaddr=0x00418000\0" \
"pxefile_addr_r=0x00428000\0" \
"ramdisk_addr_r=0x00438000\0" \
"fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"ramdisk_addr_r=0x00900000\0" \
BOOTENV
/*
......
......@@ -48,12 +48,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"kernel_addr_r=0xC0008000\0" \
"fdtfile=stm32f746-disco.dtb\0" \
"fdt_addr_r=0xC0500000\0" \
"scriptaddr=0xC0008000\0" \
"pxefile_addr_r=0xC0008000\0" \
"fdt_addr_r=0xC0408000\0" \
"scriptaddr=0xC0418000\0" \
"pxefile_addr_r=0xC0428000\0" \
"ramdisk_addr_r=0xC0438000\0" \
"fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"ramdisk_addr_r=0xC0600000\0" \
BOOTENV
/*
......
......@@ -35,12 +35,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"kernel_addr_r=0xD0008000\0" \
"fdtfile=stm32h743i-disco.dtb\0" \
"fdt_addr_r=0xD0700000\0" \
"scriptaddr=0xD0800000\0" \
"pxefile_addr_r=0xD0800000\0" \
"fdt_addr_r=0xD0408000\0" \
"scriptaddr=0xD0418000\0" \
"pxefile_addr_r=0xD0428000\0" \
"ramdisk_addr_r=0xD0438000\0" \
"fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"ramdisk_addr_r=0xD0900000\0" \
BOOTENV
/*
......
......@@ -35,12 +35,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"kernel_addr_r=0xD0008000\0" \
"fdtfile=stm32h743i-eval.dtb\0" \
"fdt_addr_r=0xD0700000\0" \
"scriptaddr=0xD0800000\0" \
"pxefile_addr_r=0xD0800000\0" \
"fdt_addr_r=0xD0408000\0" \
"scriptaddr=0xD0418000\0" \
"pxefile_addr_r=0xD0428000\0" \
"ramdisk_addr_r=0xD0438000\0" \
"fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"ramdisk_addr_r=0xD0900000\0" \
BOOTENV
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment