08 Jan, 2012

1 commit

  • Since the arch/arm/mach-s3c2410/include/mach/system-reset.h has
    been removed by commit f88b8979 ("ARM: restart: remove the now
    empty arch_reset()"), so the inclusion of
    should be removed at the plat-s3c24xx/cpu.c file.

    The build error happens like following:
    arch/arm/plat-s3c24xx/cpu.c:41: fatal error: mach/system-reset.h: No such file or directory

    Signed-off-by: Kukjin Kim
    Signed-off-by: Russell King

    Kukjin Kim
     

05 Jan, 2012

1 commit

  • Remove the s3c24xx restart handler, which is trying to work around
    a chip bug by keeping caches on but flushed. As we now only disable
    caches when performing a soft reboot, there doesn't need to be a
    work-around to do that.

    Acked-by: Kukjin Kim
    Signed-off-by: Russell King

    Russell King
     

24 Aug, 2011

1 commit


22 Aug, 2011

1 commit


18 Jul, 2011

1 commit

  • On Tue, 28 Jun 2011, Ben Dooks wrote:

    > On Tue, Jun 28, 2011 at 11:22:57PM +0200, Arnd Bergmann wrote:
    >
    > > On a related note, what about mach-s3c2400? It seems to be even more
    > > incomplete.
    >
    > Probably the same fate awaits that. It is so old that there's little
    > incentive to do anything with it.

    So out it goes as well.

    The PORT_S3C2400 definition in include/linux/serial_core.h is left there
    to prevent a reuse of the same number for another port type.

    Signed-off-by: Nicolas Pitre
    Acked-by: Arnd Bergmann

    Nicolas Pitre
     

08 Dec, 2010

1 commit

  • Currently the {set,get}_pull callbacks of the s3c24xx_gpiocfg_default structure
    are initalized via s3c_gpio_{get,set}pull_1up. This results in a linker
    error when only CONFIG_CPU_S3C2442 is selected:

    arch/arm/plat-s3c24xx/built-in.o:(.data+0x13f4): undefined reference to
    `s3c_gpio_getpull_1up'
    arch/arm/plat-s3c24xx/built-in.o:(.data+0x13f8): undefined reference to
    `s3c_gpio_setpull_1up'

    The s3c2442 has pulldowns instead of pullups compared to the s3c2440.
    The method of controlling them is the same though.
    So this patch modifies the existing s3c_gpio_{get,set}pull_1up helper functions
    to take an additional parameter deciding whether the pin has a pullup or pulldown.
    The s3c_gpio_{get,set}pull_1{down,up} functions then wrap that functions passing
    either S3C_GPIO_PULL_UP or S3C_GPIO_PULL_DOWN.

    Furthermore this patch sets up the s3c24xx_gpiocfg_default.{get,set}_pull fields
    in the s3c244{0,2}_map_io function to the new pulldown helper functions.

    Based on patch from "Lars-Peter Clausen"

    Signed-off-by: Vasily Khoruzhick
    Signed-off-by: Ben Dooks

    Vasily Khoruzhick
     

10 May, 2010

3 commits


02 Feb, 2010

2 commits


29 Oct, 2009

1 commit

  • Add the S3C2442B CPU ID to aid support the Openmoko GTA02 / Freerunner.

    Signed-off-by: Harald Welte
    Signed-off-by: Andy Green
    Signed-off-by: Nelson Castillo
    [ben-linux@fluff.org: edit description for clarity and S3C2442B as uppercase]
    Signed-off-by: Ben Dooks

    Harald Welte
     

31 Jul, 2009

1 commit

  • Add a sysdev S3C2410A sysdev to allow the differentiation
    of the S3C2410A from the S3C2410. This is needed for the
    CPUFREQ code to enable the extra features and update cpu
    specific information.

    Signed-off-by: Ben Dooks
    Signed-off-by: Ben Dooks

    Ben Dooks
     

20 Mar, 2009

1 commit

  • OMAP wishes to pass state to the boot loader upon reboot in order to
    instruct it whether to wait for USB-based reflashing or not. There is
    already a facility to do this via the reboot() syscall, except we ignore
    the string passed to machine_restart().

    This patch fixes things to pass this string to arch_reset(). This means
    that we keep the reboot mode limited to telling the kernel _how_ to
    perform the reboot which should be independent of what we request the
    boot loader to do.

    Acked-by: Tony Lindgren
    Signed-off-by: Russell King

    Russell King
     

19 Dec, 2008

1 commit


16 Dec, 2008

1 commit

  • We need to add plat-s3c to the build to get the headers
    that will go in here once moved from include/asm-arm so
    we may as well put some useful common s3c code in here
    to stop the errors generated form having nothing built.

    The cpu setup is now passed the cpu idcode and the table
    of supported cpus to s3c_init_cpu() to abstract the
    cpu identification out of the initial io setup.

    As well as moving the cpu initialisation code, we move the
    map of the board specific items up to the calling code as
    none of the map_io() functions actually do anything other
    than pass this to iotable_init().

    This patch does not rename any of the init functions that
    will be common to s3c24xx and any other s3c architectures
    as this can be done at a later date as it will touch all
    the board support files which use functions such as
    s3c24xx_init_clocks() and s3c24xx_init_uarts().

    Note, the header arch/arm/plat-s3c24xx/include/plat/cpu.h
    still has functions that are used by both the cpu and
    board initialisation functions. This means that each board
    has definitions specific to the cpu support included and
    the vice-versa.

    Signed-off-by: Ben Dooks

    Ben Dooks
     

15 Oct, 2008

1 commit


08 Oct, 2008

2 commits


06 Sep, 2008

2 commits


09 Aug, 2008

1 commit


07 Aug, 2008

2 commits


18 Apr, 2008

1 commit

  • There seems to be some problem with at-least the S3C2440 and
    bus traffic during an reset. It is unlikely, but still possible
    that the system will hang in such a way that the watchdog cannot
    get the system out of the state it is in.

    Change to making the code that calls the watchdog reset run from
    cached memory so that instruction fetches have quiesced before the
    watchdog fires.

    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King

    Ben Dooks
     

22 Jul, 2007

1 commit

  • This patch moves items of the s3c24xx support into
    a new plat-s3c directory for items that use the
    s3c24xx support but are not directly s3c24xx
    compatible, such as the s3c2400 and s3c6400.

    git mv commands:
    git mv include/asm-arm/arch-s3c2410/iic.h include/asm-arm/plat-s3c/iic.h
    git mv include/asm-arm/arch-s3c2410/nand.h include/asm-arm/plat-s3c/nand.h
    git mv include/asm-arm/arch-s3c2410/regs-iic.h include/asm-arm/plat-s3c/regs-iic.h
    git mv include/asm-arm/arch-s3c2410/regs-nand.h include/asm-arm/plat-s3c/regs-nand.h
    git mv include/asm-arm/arch-s3c2410/regs-rtc.h include/asm-arm/plat-s3c/regs-rtc.h
    git mv include/asm-arm/arch-s3c2410/regs-serial.h include/asm-arm/plat-s3c/regs-serial.h
    git mv include/asm-arm/arch-s3c2410/regs-timer.h include/asm-arm/plat-s3c/regs-timer.h
    git mv include/asm-arm/arch-s3c2410/regs-watchdog.h include/asm-arm/plat-s3c/regs-watchdog.h

    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King

    Ben Dooks
     

22 Apr, 2007

2 commits


16 Feb, 2007

1 commit


12 Feb, 2007

1 commit