public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* CONFIG_XIP_ROM vs. CONFIG_XIP_KERNEL
@ 2004-04-29 19:07 Tim Bird
  2004-04-29 20:09 ` Ralf Baechle
  2004-04-29 20:49 ` Nicolas Pitre
  0 siblings, 2 replies; 3+ messages in thread
From: Tim Bird @ 2004-04-29 19:07 UTC (permalink / raw)
  To: linux kernel
  Cc: linux-arm-kernel, linux-mips, linux-sh-ctl,
	CE Linux Developers List

I'm looking at some sources for kernel Execute-in-place (XIP).

I see references to CONFIG_XIP_ROM and CONFIG_XIP_KERNEL,
in different architecture branches of the same kernel
source tree.

Is this difference merely the result of inconsistent
usage, or is there a functional difference between
these two options?

I can imagine that CONFIG_XIP_ROM is intended only to
handle XIP in ROM, and that CONFIG_XIP_KERNEL possibly
handles additional cases like XIP in flash.  However,
before jumping to that conclusion I thought I would
ask if there is some intention behind the different
config names.

Thanks,

=============================
Tim Bird
Architecture Group Co-Chair
CE Linux Forum
Senior Staff Engineer
Sony Electronics
E-mail: Tim.Bird (at) am.sony.com
=============================



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CONFIG_XIP_ROM vs. CONFIG_XIP_KERNEL
  2004-04-29 19:07 CONFIG_XIP_ROM vs. CONFIG_XIP_KERNEL Tim Bird
@ 2004-04-29 20:09 ` Ralf Baechle
  2004-04-29 20:49 ` Nicolas Pitre
  1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2004-04-29 20:09 UTC (permalink / raw)
  To: Tim Bird
  Cc: linux kernel, linux-arm-kernel, linux-mips, linux-sh-ctl,
	CE Linux Developers List

On Thu, Apr 29, 2004 at 12:07:17PM -0700, Tim Bird wrote:

> I'm looking at some sources for kernel Execute-in-place (XIP).
> 
> I see references to CONFIG_XIP_ROM and CONFIG_XIP_KERNEL,
> in different architecture branches of the same kernel
> source tree.
> 
> Is this difference merely the result of inconsistent
> usage, or is there a functional difference between
> these two options?
> 
> I can imagine that CONFIG_XIP_ROM is intended only to
> handle XIP in ROM, and that CONFIG_XIP_KERNEL possibly
> handles additional cases like XIP in flash.  However,
> before jumping to that conclusion I thought I would
> ask if there is some intention behind the different
> config names.

Since you copied linux-mips - neither option is implemented for MIPS ...

  Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CONFIG_XIP_ROM vs. CONFIG_XIP_KERNEL
  2004-04-29 19:07 CONFIG_XIP_ROM vs. CONFIG_XIP_KERNEL Tim Bird
  2004-04-29 20:09 ` Ralf Baechle
@ 2004-04-29 20:49 ` Nicolas Pitre
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Pitre @ 2004-04-29 20:49 UTC (permalink / raw)
  To: Tim Bird
  Cc: linux kernel, linux-arm-kernel, linux-mips, linux-sh-ctl,
	CE Linux Developers List

On Thu, 29 Apr 2004, Tim Bird wrote:

> I'm looking at some sources for kernel Execute-in-place (XIP).
> 
> I see references to CONFIG_XIP_ROM and CONFIG_XIP_KERNEL,
> in different architecture branches of the same kernel
> source tree.
> 
> Is this difference merely the result of inconsistent
> usage, or is there a functional difference between
> these two options?

It's the result of me deciding CONFIG_XIP_ROM wasn't totally appropriate ...  

> I can imagine that CONFIG_XIP_ROM is intended only to
> handle XIP in ROM, and that CONFIG_XIP_KERNEL possibly
> handles additional cases like XIP in flash.  However,
> before jumping to that conclusion I thought I would
> ask if there is some intention behind the different
> config names.

... so I renamed it to CONFIG_XIP_KERNEL.  Especially since there is also 
XIPable user space which also can be stored in ROM (or flash).  So please 
disregard CONFIG_XIP_ROM and use CONFIG_XIP_KERNEL.  Whether ROM or Flash is 
used is rather irrelevant to the code this option is linked to.


Nicolas


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-29 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-29 19:07 CONFIG_XIP_ROM vs. CONFIG_XIP_KERNEL Tim Bird
2004-04-29 20:09 ` Ralf Baechle
2004-04-29 20:49 ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox