summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-06-17 19:24:29 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-06-20 07:15:33 +0900
commit51ea5a060d7bb187d344c9d24b9bfdc7570681df (patch)
tree9596c55a4a74e9b139dbc6d01d5d2d609b7267a1 /arch/arm/mach-uniphier/Kconfig
parent18c11986674ae917aad2465ef88cbb2c4e92b170 (diff)
downloadtalos-obmc-uboot-51ea5a060d7bb187d344c9d24b9bfdc7570681df.tar.gz
talos-obmc-uboot-51ea5a060d7bb187d344c9d24b9bfdc7570681df.zip
ARM: uniphier: reserve memory for DRAM PHY training on PH1-LD20
The DRAM PHY layer on PH1-LD20 is able to calibrate PHY parameters periodically. This compensates for the voltage and temperature deviation and improves the PHY parameter adjustment. Instead, it requires 64 byte scratch memory in each DRAM channel for the dynamic training. The memory regions must be reserved in DT before jumping to the kernel. The scratch area can be anywhere in each DRAM channel, but the DRAM init code in SPL currently assigns it at the end of each channel. So, it makes sense to reserve the regions on run-time by U-Boot instead of statically embedding it in the DT in Linux. Anyway, a boot-loader should know much more about memory initialization than the kernel. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/Kconfig')
-rw-r--r--arch/arm/mach-uniphier/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/Kconfig b/arch/arm/mach-uniphier/Kconfig
index 89be0b3bd7..e256eeb668 100644
--- a/arch/arm/mach-uniphier/Kconfig
+++ b/arch/arm/mach-uniphier/Kconfig
@@ -40,6 +40,7 @@ config ARCH_UNIPHIER_LD11
config ARCH_UNIPHIER_LD20
bool "UniPhier PH1-LD20 SoC"
select ARCH_UNIPHIER_64BIT
+ select OF_BOARD_SETUP
endchoice
OpenPOWER on IntegriCloud