Home
last modified time | relevance | path

Searched hist:"2 bb9839e312ed55a6d5824ffa6077ce3d7d63b1e" (Results 1 – 2 of 2) sorted by relevance

/linux/arch/arm/include/asm/mach/
H A Darch.hdiff 2bb9839e312ed55a6d5824ffa6077ce3d7d63b1e Wed Jul 06 04:38:10 CEST 2011 Nicolas Pitre <nicolas.pitre@linaro.org> ARM: introduce atag_offset to replace boot_params

The boot_params member of the mdesc structure is used to provide a
default physical address for the ATAG list. Since this value is fixed
at compile time and sometimes based on constants such as ARCH_PHYS_OFFSET,
it gets in the way of runtime PHYS_OFFSET and CONFIG_ARM_PATCH_PHYS_VIRT
usage.

Let's introduce atag_offset which should contains only the relative
offset from PHYS_OFFSET instead of an absolute value, in preparation
to move all instance of boot_params over to it.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Tested-by: Petr Štetiar <ynezz@true.cz>
Acked-by: Arnd Bergmann <arnd@arndb.de>
/linux/arch/arm/kernel/
H A Dsetup.cdiff 2bb9839e312ed55a6d5824ffa6077ce3d7d63b1e Wed Jul 06 04:38:10 CEST 2011 Nicolas Pitre <nicolas.pitre@linaro.org> ARM: introduce atag_offset to replace boot_params

The boot_params member of the mdesc structure is used to provide a
default physical address for the ATAG list. Since this value is fixed
at compile time and sometimes based on constants such as ARCH_PHYS_OFFSET,
it gets in the way of runtime PHYS_OFFSET and CONFIG_ARM_PATCH_PHYS_VIRT
usage.

Let's introduce atag_offset which should contains only the relative
offset from PHYS_OFFSET instead of an absolute value, in preparation
to move all instance of boot_params over to it.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Tested-by: Petr Štetiar <ynezz@true.cz>
Acked-by: Arnd Bergmann <arnd@arndb.de>