Configs ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR are enabled as default
to S3C64XX platform
Introduction of PHYS_VIRT config as default would enable phy-to-virt and
virt-to-phy translation function at boot and module loading time
and enforce dynamic reallocation of memory. AUTO_ZRELADDR config would
enable calculation of kernel load address at run time.
PHYS_VIRT config is mutually exclusive to XIP_KERNEL, XIP_KERNEL is used in
systems with NOR flash devices, and ZRELADDR config is mutually exclusive
to ZBOOT_ROM.
CFT::Call For Testing
Requesting maintainers of S3C64XX platforms to evaluate the changes on the
board and comment, as I dont have the board for testing and also requesting
an ACK the changes.
Signed-off-by: panchaxari <panchaxari.prasannamurthy(a)linaro.org>
Cc: Mark Brown <broonie(a)linaro.org>
Cc: Tomasz Figa <tomasz.figa(a)gmail.com>
Cc: Ben Dooks <ben-linux(a)fluff.org>
Cc: Kukjin Kim <kgene.kim(a)samsung.com>
Cc: Russell King <linux(a)arm.linux.org.uk>
Cc: Linus Walleij <linus.walleij(a)linaro.org>
Cc: linux-arm-kernel(a)lists.infradead.org
Cc: linux-samsung-soc(a)vger.kernel.org
Cc: linux-kernel(a)vger.kernel.org
---
This is basically a Samsung SOC with ARM1176JZF-S instruction set, and has
an operating frquency of 667MHz, it also has 64bit AXI bus. It supports
WinCE, Linux, Android and Ubuntu.
This platform has two variants of CPU, S3C6400 and S3C6410.
This SOC is an Integrated system for Mobile Internet Device, Notebook,
handheld/3G mobile devices.
Supports various types of ROM for booting (NOR/NAND Flash, OneNand, SD-card
and others).
Below lkml link is a quoting by Russell which clears the concept of PHYS_VIRT
and ZRELADDR
---------------------------------------------------
https://lkml.org/lkml/2011/10/14/434
-------------------------------------------------
---
arch/arm/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 7c6247b..ec1faea 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -731,7 +731,9 @@ config ARCH_S3C64XX
bool "Samsung S3C64XX"
select ARCH_HAS_CPUFREQ
select ARCH_REQUIRE_GPIOLIB
+ select ARM_PATCH_PHYS_VIRT
select ARM_VIC
+ select AUTO_ZRELADDR
select CLKDEV_LOOKUP
select CLKSRC_SAMSUNG_PWM
select COMMON_CLK
--
1.7.10.4
ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR have been enabled as default configs
to S5PC100 platform
Introduction of PHYS_VIRT config as default would enable phy-to-virt and
virt-to-phy translation function at boot and module loading time
and enforce dynamic reallocation of memory. AUTO_ZRELADDR config would
enable calculation of kernel load address at run time.
PHYS_VIRT config is mutually exclusive to XIP_KERNEL, XIP_KERNEL is used in
systems with NOR flash devices, and ZRELADDR config is mutually exclusive
to ZBOOT_ROM.
CFT::Call For Testing
Requesting maintainers of S5PC100 platforms to evaluate the changes on the board
and comment, as I dont have the board for testing and also requesting an ACK.
Signed-off-by: panchaxari <panchaxari.prasannamurthy(a)linaro.org>
Cc: Kukjin Kim <kgene.kim(a)samsung.com>
Cc: Tomasz Figa <tomasz.figa(a)gmail.com>
Cc: Sylwester Nawrocki <s.nawrocki(a)samsung.com>
Cc: Heiko Stuebner <heiko(a)sntech.de>
Cc: Russell King <linux(a)arm.linux.org.uk>
Cc: Linus Walleij <linus.walleij(a)linaro.org>
Cc: linux-arm-kernel(a)lists.infradead.org
Cc: linux-samsung-soc(a)vger.kernel.org
Cc: linux-kernel(a)vger.kernel.org
---
arch/arm/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 8986335..ec1faea 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -778,7 +778,9 @@ config ARCH_S5P64X0
config ARCH_S5PC100
bool "Samsung S5PC100"
+ select ARM_PATCH_PHYS_VIRT
select ARCH_REQUIRE_GPIOLIB
+ select AUTO_ZRELADDR
select CLKDEV_LOOKUP
select CLKSRC_SAMSUNG_PWM
select CPU_V7
--
1.7.10.4