1. 04 3月, 2011 1 次提交
    • L
      ARM: S3C2440: Fix usage gpio bank j pin definitions on GTA02 · 6a53048d
      Lars-Peter Clausen 提交于
      The gta02 header file still uses the old S3C2410_GPJx defines instead of the
      S3C2410_GPJ(x) macro. Since the S3C2410_GPJx defines have already been removed
      this causes the following build failure:
      
      	sound/soc/samsung/neo1973_wm8753.c: In function 'lm4853_set_spk':
      	sound/soc/samsung/neo1973_wm8753.c:259: error: 'S3C2440_GPJ2' undeclared (first use in this function)
      	sound/soc/samsung/neo1973_wm8753.c:259: error: (Each undeclared identifier is reported only once
      	sound/soc/samsung/neo1973_wm8753.c:259: error: for each function it appears in.)
      	sound/soc/samsung/neo1973_wm8753.c: In function 'lm4853_get_spk':
      	sound/soc/samsung/neo1973_wm8753.c:267: error: 'S3C2440_GPJ2' undeclared (first use in this function)
      	sound/soc/samsung/neo1973_wm8753.c: In function 'lm4853_event':
      	sound/soc/samsung/neo1973_wm8753.c:276: error: 'S3C2440_GPJ1' undeclared (first use in this function)
      	sound/soc/samsung/neo1973_wm8753.c: At top level:
      	sound/soc/samsung/neo1973_wm8753.c:439: error: 'S3C2440_GPJ2' undeclared here (not in a function)
      	sound/soc/samsung/neo1973_wm8753.c:440: error: 'S3C2440_GPJ1' undeclared here (not in a function)
      
      This patches fixes the issue by doing a s,S3C2410_GPJ([\d]+),S3C2410_GPJ(\1),g
      on the file.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      6a53048d
  2. 02 2月, 2010 1 次提交
  3. 17 6月, 2009 1 次提交
    • A
      [ARM] GTA02/FreeRunner: Add machine definition · 9d76295a
      Andy Green 提交于
      This patch introduces the Openmoko GTA02 machine definition.
      
      Much of the code is based on Harald Welte's work, although it
      has been largely rewritten several times.
      
      This is intended to be the minimum machine definition to boot and
      be able to run a rootfs from NAND on GTA02 / FreeRunner.  It does
      not bring up the framebuffer / Glamo and lacks many other peripheral
      drivers from outside the SoC.  But once we have this basis in
      mainline kernel, we will be able to introduce the other drivers
      and add them here.
      
      Thanks to Sven Rebhan <odinshorse@googlemail.com> for his fixes to this
      patch (Kconfig and defconfig files).
      Signed-off-by: NAndy Green <andy@warmcat.com>
      Signed-off-by: NNelson Castillo <arhuaco@freaks-unidos.net>
      [ben-linux@fluff.org: Fix the GPIO definitions]
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      9d76295a