1. 10 Nov, 2004 9 commits
    • Nicolas Pitre's avatar
      [ARM PATCH] 2160/1: allow modules to work with XIP kernel · f05ee516
      Nicolas Pitre authored
      Patch from Nicolas Pitre
      
      This should be applied on top of patch #2154/1.
      
      This maps the XIP kernel in the same virtual area as used for kernel
      modules instead of the previous arbitrary location.  Doing so has the
      advantage of having a well defined kernel address not conflicting
      with the different definitions for VMALLOC_END, as well as making
      modules loadable without any indirect long branch calls.  The work
      on XIPable MTD also requires this with code marked __xipram for the
      same reason.
      
      This of course reduces the space available for kernel modules from
      16MB to either 14MB or 12MB depending on the size of the resulting 
      kernel but that shouldn't be a real issue at all, given that the
      whole purpose behind XIP is to execute as much stuff from flash, 
      which is better achieved by compiling drivers in the kernel directly.
      
      Signed-off-by: Nicolas Pitre 
      Signed-off-by: Russell King
      f05ee516
    • Nicolas Pitre's avatar
      [ARM PATCH] 2154/2: XIP kernel for ARM · 457450ab
      Nicolas Pitre authored
      Patch from Nicolas Pitre
      
      This patch allows for the kernel to be configured for XIP.
      A lot of people are using semi hacked up XIP patches already so
      it is a good idea to have a generic and clean implementation 
      supporting all ARM targets. The patch isn't too intrusive.
      
      It involves:
      
      - modifying the kernel entry code to map separate .text and .data
        sections in the initial page table, as well as relocating
        .data to ram when needed
      
      - modifying the linker script to account for the different VMA and
        LMA for .data, as well as making sure that .init.data gets
        relocated to ram
      
      - adding the final kernel mapping with a new MT_ROM mem type
      
      - distinguishing between XIP and non-XIP for bootmem and memory
        resource declaration
      
      - and adding proper target handling to Makefiles.
      
      While at it, this also cleans up the kernel boot code a bit
      so the kernel can now be compiled for any address in ram,
      removing the need for a relation between kernel address and
      start of ram.  Also throws in some more comments.
      
      And finally the _text, _etext, _end and similar variables are now
      declared extern void instead of extern char, or even extern int.
      That allows for operations on their address directly without any
      cast, and trying to reference them by mistake would yield an 
      error which is a good thing.
      
      Tested both configurations: XIP and non XIP, the later 
      producing a kernel for execution from ram just as before.
      
      Signed-off-by: Nicolas Pitre 
      Signed-off-by: Russell King
      457450ab
    • Ben Dooks's avatar
      [ARM PATCH] 2225/1: S3C2410 - export symbol from s3c2440-dsc.c · d8eea8e7
      Ben Dooks authored
      Patch from Ben Dooks
      
      Added symbol export to the file, and cleaned up the
      un-necessary include files
      
      Signed-off-by: Ben Dooks 
      Signed-off-by: Russell King
      d8eea8e7
    • Dave Jiang's avatar
      [ARM PATCH] 2223/1: convert serial UART to platform device on iop3xx · e9edaa3d
      Dave Jiang authored
      Patch from Dave Jiang
      
      Converting IOP321 UART to platform device
      Remove asm/arch/serial.h dependency
      
      Signed-off-by: Dave Jiang
      Signed-off-by: Russell King
      e9edaa3d
    • Dave Jiang's avatar
      [ARM PATCH] 2222/1: iop3xx timer routine cleanup · 639622dd
      Dave Jiang authored
      Patch from Dave Jiang
      
      Clean up iop3xx timer routines and move to xtime_lock/timer_tick schemes
      dependent on patch 2216/1
      
      Signed-off-by: Dave Jiang
      Signed-off-by: Russell King
      639622dd
    • Ben Dooks's avatar
      [ARM PATCH] 2224/1: S3C2410 - s3c2440 power management device · 2c503674
      Ben Dooks authored
      Patch from Ben Dooks
      
      Add a system device for the s3c2440 called s3c2440-core
      to allow power management hooks for s3c2440 specific
      registers to be added.
      
      Signed-off-by: Ben Dooks 
      Signed-off-by: Russell King
      2c503674
    • Ben Dooks's avatar
      [ARM PATCH] 2217/2: S3C2410 - pm updates · 44648f61
      Ben Dooks authored
      Patch from Ben Dooks
      
      This patch does the following:
      
       - Save S3C2410_DCLKCON over sleep
       - Save all non-SDRAM memory bank config
       - Fix bug in setting PLL before clock divisor
       - Save all IRQ level controlls
       - Restore IRQ masks _after_ configuration restored
       - No debug until core registers restored
      
      This patch also moves the pm save/restore list code
      into the header, for other parts of arch/arm/mach-s3c2410
      to use. Note, this is not a general invite for external
      code to use these functions.
      
      Also applied patch from Dimitry Andric to fix up the
      spelling/typos in Documentation/arm/Samsung-S3C24XX/Suspend.txt
      
      Signed-off-by: Ben Dooks 
      
      Signed-off-by: Dimitry Andric 
      Signed-off-by: Russell King
      44648f61
    • Ben Dooks's avatar
      [ARM PATCH] 2220/1: S3C2410 - regs-dsc.h fixes · 5bffe1b1
      Ben Dooks authored
      Patch from Ben Dooks
      
      The following fixes are included:
      
       - fix the addresses of S3C2440_DSCx (off by 4)
       - SCK0/SCK1 definitions the wrong way around
       - renable ENABLE to DISABLE
      
      Signed-off-by: Ben Dooks 
      Signed-off-by: Russell King
      5bffe1b1
    • Russell King's avatar
  2. 09 Nov, 2004 7 commits
  3. 08 Nov, 2004 19 commits
  4. 07 Nov, 2004 5 commits