u-boot-brain/arch/arm/mach-uniphier
Masahiro Yamada be893a5c09 ARM: uniphier: do not use RAM that exceeds 32 bit address range
LD20 / PXs3 boards are equipped with a large amount of memory beyond
the 32 bit address range.  U-Boot relocates itself to the end of the
available RAM.

This is a problem for DMA engines that only support 32 bit physical
address, like the SDMA of SDHCI controllers.

In fact, U-Boot does not need to run at the very end of RAM.  It is
rather troublesome for drivers with DMA engines because U-Boot does
not have API like dma_set_mask(), so DMA silently fails, making the
driver debugging difficult.

Hide the memory region that exceeds the 32 bit address range.  It can
be done by simply carving out gd->ram_size.  It would also possible to
override get_effective_memsize() or to define CONFIG_MAX_MEM_MAPPED,
but dram_init() is a good enough place to do this job.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-01-09 21:58:17 +09:00
..
arm32 ARM: uniphier: use pr_() instead of printf() where appropriate 2017-10-15 22:32:24 +09:00
arm64 ARM: uniphier: remove SPL support for ARMv8 SoCs 2017-07-26 22:27:15 +09:00
bcu ARM: uniphier: remove sLD3 SoC support 2017-08-20 23:05:39 +09:00
boot-device ARM: uniphier: use pr_() instead of printf() where appropriate 2017-10-15 22:32:24 +09:00
clk ARM: uniphier: use FIELD_PREP for PLL settings 2017-12-12 00:36:12 +09:00
debug-uart ARM: uniphier: remove sLD3 SoC support 2017-08-20 23:05:39 +09:00
dram ARM: uniphier: use pr_*() more where appropriate 2017-10-23 01:09:22 +09:00
sbc ARM: dts: uniphier: Sync with Linux 4.15-rc1 2017-11-29 00:29:00 +09:00
board_init.c ARM: uniphier: clean up board_init 2017-12-04 21:59:52 +09:00
board_late_init.c ARM: uniphier: use pr_() instead of printf() where appropriate 2017-10-15 22:32:24 +09:00
boards.c ARM: uniphier: remove sLD3 SoC support 2017-08-20 23:05:39 +09:00
cpu-info.c ARM: uniphier: use pr_() instead of printf() where appropriate 2017-10-15 22:32:24 +09:00
debug.h ARM: uniphier: add PSCI support for UniPhier ARMv7 SoCs 2016-08-11 17:58:06 +09:00
dram_init.c ARM: uniphier: do not use RAM that exceeds 32 bit address range 2018-01-09 21:58:17 +09:00
init.h printk: collect printk stuff into <linux/printk.h> with loglevel support 2017-10-04 10:31:17 -04:00
Kconfig ARM: uniphier: split u-boot,dm-pre-reloc out to uniphier-v7-u-boot.dtsi 2017-10-23 01:02:05 +09:00
Makefile ARM: uniphier: enable PSCI sysreset for uniphier_v8_defconfig 2017-04-20 23:49:50 +09:00
memconf.c ARM: uniphier: remove sLD3 SoC support 2017-08-20 23:05:39 +09:00
micro-support-card.c ARM: uniphier: print Support Card info very late 2017-02-23 08:37:56 +09:00
micro-support-card.h ARM: uniphier: refactor Support Card init code 2017-01-17 09:00:40 +09:00
mmc-boot-mode.c ARM: uniphier: remove sLD3 SoC support 2017-08-20 23:05:39 +09:00
mmc-first-dev.c env: Rename common functions related to setenv() 2017-08-16 08:23:32 -04:00
pinctrl-glue.c dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
reset.c ARM: uniphier: support system reset functionality for PSCI 2016-08-28 13:09:19 +09:00
sc-regs.h ARM: uniphier: remove sLD3 SoC support 2017-08-20 23:05:39 +09:00
sc64-regs.h ARM: uniphier: remove bit field macros from sc64-regs.h 2017-09-18 20:26:12 +09:00
sg-regs.h ARM: uniphier: add more init code for PXs3 2017-05-17 21:56:17 +09:00
soc-info.c ARM: uniphier: fix MODEL field of REVISION register 2017-05-17 21:46:14 +09:00
soc-info.h ARM: uniphier: remove sLD3 SoC support 2017-08-20 23:05:39 +09:00
spl_board_init.c ARM: uniphier: remove sLD3 SoC support 2017-08-20 23:05:39 +09:00