u-boot/board
Michal Simek d7b5cc89d3 microblaze: Do not place u-boot to reserved memory location
Microblaze can also have reserved space in DT which u-boot has to avoid to
placing self to that location. The same change was done in Zynqmp by commit
ce39ee28ec ("zynqmp: Do not place u-boot to reserved memory location").

This feature was tested with this memory description on kc705:

	memory {
		device_type = "memory";
		reg = <0x80000000 0x40000000>;
	};

	reserved-memory {
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;

		alloc@b00000000 {
			reg = <0xb0000000 0x10000000>;
			no-map;
		};

		alloc@a8000000 {
			reg = <0xa8000000 0x00010000>;
			no-map;
		};
	};

And in U-Boot log you can check u-boot relocation address and reserved
locations.
U-Boot 2022.01-03974-gb1b4c2dea9b9 (Feb 25 2022 - 11:59:48 +0100)

Model: Xilinx MicroBlaze
DRAM:  1 GiB
Flash: 128 MiB
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
Model: Xilinx MicroBlaze
Net:   AXI EMAC: 40c00000, phyaddr 7, interface gmii
eth0: ethernet@40c00000
U-BOOT for microblaze-generic

U-Boot-mONStR> bdi
...
DRAM bank   = 0x00000000
-> start    = 0x80000000
-> size     = 0x40000000
...
relocaddr   = 0xaff69000
...
lmb_dump_all:
 memory.cnt  = 0x1
 memory[0]	[0x80000000-0xbfffffff], 0x40000000 bytes flags: 0
 reserved.cnt  = 0x3
 reserved[0]	[0xa8000000-0xa800ffff], 0x00010000 bytes flags: 4
 reserved[1]	[0xafe87bb0-0xafffffff], 0x00178450 bytes flags: 0
 reserved[2]	[0xb0000000-0xbfffffff], 0x10000000 bytes flags: 4

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/ea0a8ccce723478eb518f6fdceb91d4f129efb68.1646122398.git.michal.simek@xilinx.com
2022-03-07 16:33:47 +01:00
..
abilis/tb100
advantech scripts: Makefile.lib: generate dsdt_generated.c instead of dsdt.c 2022-02-25 11:21:24 -05:00
alliedtelesis ARM: mvebu: x530: clearfog: Add ODT configuration 2022-03-04 08:38:05 +01:00
altera
amarula/vyasa-rk3288
amlogic board: amlogic: vim3: configure serial# from ethaddr 2022-01-20 09:50:54 +01:00
AndesTech riscv: ae350: Use #if defined instead of CONFIG_IS_ENABLED 2021-11-08 15:35:55 +08:00
aries/mcvevk
aristainetos imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
armadeus/opos6uldev imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
armltd vexpress64: Remove unused macro XR3PCI_ECAM_OFFSET 2022-01-12 14:21:24 -05:00
aspeed
astro/mcf5373l
atmark-techno/armadillo-800eva WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
atmel board: sama7g5ek: set blue led on at boot time 2022-01-13 11:45:00 +02:00
avionic-design
beacon imx8mm_beacon/imx8mn_beacon: Update build instructions 2022-02-19 14:46:54 +01:00
beckhoff/mx53cx9020 arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
birdland/bav335x
bitmain/antminer_s9
bluewater global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
bosch Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
boundary/nitrogen6x imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
broadcom board: brcm-ns3: Load netXtreme firmware 2021-12-02 08:34:01 +02:00
bticino/mamoj
buffalo/lsxl bootstage: Eliminate when not enabled 2021-07-07 10:17:54 -04:00
BuR brxre1: disable video after DM_VIDEO conversion deadline 2021-06-05 10:40:47 +02:00
BuS/eb_cpu5282 global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
cadence/xtfpga Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
calao/usb_a9263
cavium/thunderx pci: Drop pci_init_board() 2021-08-06 08:26:48 -04:00
cei/cei-tk1-som
chipspark/popmetal_rk3288
cloudengines arm: kirkwood: Pogoplug E02 : Convert Ethernet to Driver Model 2022-02-10 07:12:16 +01:00
cobra5272
compal/paz00
compulab imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
comtrend
congatec scripts: Makefile.lib: generate dsdt_generated.c instead of dsdt.c 2022-02-25 11:21:24 -05:00
coreboot x86: coreboot: Support getting a logo from virtio 2021-12-26 23:33:26 +01:00
cortina
cssi nand.h: Cleanup linux/mtd/rawnand.h usage 2021-10-06 09:16:23 -04:00
CZ.NIC arm: mvebu: turris_mox: Remove hardcoded ethernet node names 2022-02-17 14:17:07 +01:00
d-link/dns325
davinci/da8xxevm omapl138_lcdk: Stop using CONFIG_MACH_OMAPL138_LCDK 2021-09-27 21:38:34 -04:00
devboards/dbm-soc1
dfi scripts: Makefile.lib: generate dsdt_generated.c instead of dsdt.c 2022-02-25 11:21:24 -05:00
dhelectronics ARM: stm32: Fix SoM and board coding strap GPIO handling on DHSOM 2021-12-13 14:34:04 +01:00
ea imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
ebv/socrates
eets/pdu001 arm: pdu001: Setup pinmux for console UART as early as possible 2022-02-28 10:33:11 -05:00
efi efi: Add video support to the app 2021-11-07 18:36:55 +01:00
egnite/ethernut5
elgin/elgin_rv1108
embest/mx6boards serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
emulation riscv: qemu: Implement is_flash_available() for MTD NOR 2022-02-10 11:18:13 +08:00
engicam engicam: px30: Add Engicam PX30.Core C.TOUCH 2.0 10.1" OF 2021-12-24 14:56:58 +08:00
esd/meesc global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
firefly treewide: fdt: Move fdt_get_config_... to ofnode_conf_read... 2021-09-25 09:46:15 -06:00
freescale ARM: imx: imx8mn-ddr4-evk: Add ethernet support 2022-02-19 23:32:23 +01:00
friendlyarm arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
gardena
gateworks board: gateworks: venice: add imx8mn-gw7902 support 2022-02-19 14:46:54 +01:00
gdsys doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ge imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
geekbuying/geekbox
google scripts: Makefile.lib: generate dsdt_generated.c instead of dsdt.c 2022-02-25 11:21:24 -05:00
grinn Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
hardkernel/odroid_go2
highbank sandbox: Remove OF_HOSTFILE 2021-10-27 16:38:26 -04:00
hisilicon WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
hoperun/hihope-rzg2 arm: use the correct prototype for reset_cpu function 2021-07-28 19:30:22 -04:00
huawei/hg556a
ids/ids8313
imgtec mmc: Rename MMC_SUPPORT to MMC 2021-09-04 11:42:41 -04:00
intel scripts: Makefile.lib: generate dsdt_generated.c instead of dsdt.c 2022-02-25 11:21:24 -05:00
inversepath/usbarmory arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
iomega/iconnect arm: kirkwood: iConnect : Add Ethernet support 2022-02-10 07:12:16 +01:00
is1
isee
k+p imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00
keymile km/ls102xa: use unused scratchrw4 address for post word 2022-02-01 15:08:07 +05:30
kmc/kzm9g
kobol/helios4 arm: mvebu: Load U-Boot proper binary in SPL code based on kwbimage header 2021-07-31 09:59:58 +02:00
kontron board: sl28: disable recovery watchdog 2022-02-28 11:59:35 +05:30
kosagi/novena
l+g/vinco Remove #include <version.h> from files which do not need it 2021-09-17 12:10:44 -04:00
LaCie Convert CONFIG_88F5182 et al to Kconfig 2021-12-27 16:20:19 -05:00
lego/ev3
lg/sniper arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
liebherr arm: xea: config: Provide special defconfig for a single binary u-boot 2022-02-05 13:38:39 +01:00
logicpd ARM: omap3_logic: Cleanup usage of MUX_VAL 2021-10-11 15:02:50 -04:00
Marvell arm: kirkwood: Dreamplug : Use Marvell uclass mvgbe and PHY driver for Ethernet 2022-02-10 07:12:16 +01:00
maxbcm
mediatek WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
menlo/m53menlo ARM: imx: mx5: Enable BMODE command on MX53 Menlo board 2021-10-19 12:36:50 +02:00
microchip riscv: Update Microchip MPFS Icicle Kit support 2021-12-02 16:43:52 +08:00
mikrotik/crs3xx-98dx3236
mqmaker/miqi_rk3288 WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
mscc WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
myir/mys_6ulx
netgear
nokia/rx51 Nokia RX-51: Convert to CONFIG_DM_KEYBOARD 2022-02-08 11:00:04 -05:00
novtech/meerkat96 imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
nvidia ARM: tegra: Refactor DT update helpers 2021-10-13 14:18:30 -07:00
olimex/mx23_olinuxino mx23_olinuxino: convert MMC to driver model 2021-04-08 23:59:50 +02:00
opalkelly/zynq WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
openpiton/riscv64 riscv: dts: add OpenPiton RISC-V board dts support 2021-07-07 20:34:02 +08:00
out4/o4-imx6ull-nano imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
phytec imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
phytium/durian WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
pine64
qca Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
qualcomm WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
radxa
raidsonic/ib62x0
raspberrypi/rpi Prepare v2022.01-rc4 2021-12-20 17:12:04 -05:00
renesas Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
rockchip WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
ronetix imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
sagem/f@st1704
samsung board: samsung: fix menu entries for a{3,7}y17lte 2022-01-13 14:33:00 +09:00
sandbox sandbox: Update the test MAC/IP addresses 2021-11-16 14:35:08 -05:00
Seagate arm: kirkwood: Dockstar : Add DM Ethernet 2022-02-10 07:12:16 +01:00
seeed imx: Add SeeedStudio NPI-IMX6ULL Support 2021-06-09 13:34:18 +02:00
sfr/nb4_ser
siemens imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
sifive riscv: sifive: Fix OF_BOARD boot failure 2022-01-07 09:30:44 -05:00
silinux/ek874 arm: use the correct prototype for reset_cpu function 2021-07-28 19:30:22 -04:00
sipeed/maix k210: Don't imply CCF 2021-06-17 09:40:58 +08:00
socionext/developerbox Revert "board: synquacer: developerbox: Don't set gd->env_addr to default_environment" 2021-11-18 14:22:11 -05:00
socrates Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
softing imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
solidrun ARM: mvebu: x530: clearfog: Add ODT configuration 2022-03-04 08:38:05 +01:00
somlabs/visionsom-6ull imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
sr1500
st board: stm32mp1: solve compilation issue when ENV_IS_IN_MMC is deactivated 2022-01-24 11:00:47 +01:00
ste/stemmy board: stemmy: Detect board variants and patch DTB 2022-02-28 10:33:45 -05:00
storopack/smegw01 imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
sunxi Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi 2022-02-03 23:24:31 -05:00
Synology arm: Finish migration of CONFIG_MACH_TYPE 2021-09-07 19:17:32 -04:00
synopsys image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
sysam WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
tbs/tbs2910 imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
tcl/sl50 Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
technexion imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
terasic WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
theadorable arm: mvebu: theadorable: Switch to using DM I2C API 2021-12-19 09:50:47 +01:00
theobroma-systems rockchip: puma/lion: update MAINTAINERS file 2022-01-07 09:30:44 -05:00
ti arm: mach-k3: am6_init: Use CONFIG_TI_I2C_BOARD_DETECT 2022-03-04 15:20:06 -05:00
timll lpc32xx: Kconfig: switch to CONFIG_CONS_INDEX 2021-07-06 14:11:50 -04:00
topic/zynq
toradex imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
tplink/wdr4300 Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
tq/tqma6 imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
traverse board: traverse: add initial Ten64 support 2022-02-01 15:04:24 +05:30
udoo udoo: Call gpio_request() 2022-01-08 11:16:03 -05:00
vamrs/rock960_rk3399
variscite imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
vocore/vocore2
vscom/baltos Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig 2021-08-31 17:47:49 -04:00
wandboard MAINTAINERS: Use my personal e-mail address 2021-04-08 20:29:53 +02:00
warp imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
warp7 imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
work-microwave/work_92105 Remove including timestamp.h in version.h 2021-09-17 12:10:44 -04:00
xen/xenguest_arm64 Convert CONFIG_CONS_INDEX et al to Kconfig 2021-12-27 08:41:38 -05:00
xes/common Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
xilinx microblaze: Do not place u-boot to reserved memory location 2022-03-07 16:33:47 +01:00
zyxel/nsa310s arm: kirkwood: NSA310S: Use Ethernet PHY name from device tree 2021-07-19 08:44:15 +02:00