[PATCH 3/5] [ARM] Make TEXT_OFFSET a configurable option

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Jun 10 06:00:39 EDT 2010


On Thu, Jun 10, 2010 at 05:45:53PM +0800, Eric Miao wrote:
> 2010/6/10 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:
> > On Thu, Jun 03, 2010 at 03:36:51PM +0800, Eric Miao wrote:
> >> From: Eric Miao <eric.y.miao at gmail.com>
> >>
> >> Signed-off-by: Eric Miao <eric.miao at canonical.com>
> >> ---
> >>  arch/arm/Kconfig         |   13 +++++++++++++
> >>  arch/arm/Makefile        |   13 +------------
> >>  arch/arm/kernel/Makefile |    4 ++--
> >>  3 files changed, 16 insertions(+), 14 deletions(-)
> >>
> >> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> >> index 1f254bd..e340193 100644
> >> --- a/arch/arm/Kconfig
> >> +++ b/arch/arm/Kconfig
> >> @@ -1484,6 +1484,19 @@ config ATAGS_PROC
> >>         Should the atags used to boot the kernel be exported in an "atags"
> >>         file in procfs. Useful with kexec.
> >>
> >> +config TEXT_OFFSET
> >> +     hex "Offset of the kernel image from the start of RAM"
> > IMHO this should not be user configurable.
> >
> 
> That's true. The reason I don't want to keep this in Makefile is the
> concern about future change to Makefile (that machine-y could be
> composed of all the mach-*), and make it a kernel config option at
> least provide a way to fix that by the user interactively.
You can have both, just remove the string after "hex" above.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list