1. 30 1月, 2013 1 次提交
    • H
      ARM: S3C24XX: transform irq handling into a declarative form · 1f629b7a
      Heiko Stuebner 提交于
      The irqs available on the machine and even the bit settings in the
      irq registers differ a lot through all the s3c24xx subarchitectures.
      This results in each subarch having its own irq init which adds its
      specific irqs to the base ones created in plat-s3c24xx/irq.c.
      
      This of course makes a future move to devicetree hard to implement.
      
      Therefore this patch transforms the base irq handling to a declarative
      style, where the irq types as well as its parent/child relationship
      gets read from a predefined datastructure, which later on can hopefully
      be easily represented in devicetree too.
      
      It should also be easy to include the subarch specific irqs here
      in later patches, reducing code size and duplication.
      
      It should not affect anything outside of the file, as the original
      irq numbers and their handling are preserved (hopefully) correctly.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      1f629b7a
  2. 14 10月, 2012 1 次提交
    • R
      ARM: config: sort select statements alphanumerically · b1b3f49c
      Russell King 提交于
      As suggested by Andrew Morton:
      
        This is a pet peeve of mine.  Any time there's a long list of items
        (header file inclusions, kconfig entries, array initalisers, etc) and
        someone wants to add a new item, they *always* go and stick it at the
        end of the list.
      
        Guys, don't do this.  Either put the new item into a randomly-chosen
        position or, probably better, alphanumerically sort the list.
      
      lets sort all our select statements alphanumerically.  This commit was
      created by the following perl:
      
      while (<>) {
      	while (/\\\s*$/) {
      		$_ .= <>;
      	}
      	undef %selects if /^\s*config\s+/;
      	if (/^\s+select\s+(\w+).*/) {
      		if (defined($selects{$1})) {
      			if ($selects{$1} eq $_) {
      				print STDERR "Warning: removing duplicated $1 entry\n";
      			} else {
      				print STDERR "Error: $1 differently selected\n".
      					"\tOld: $selects{$1}\n".
      					"\tNew: $_\n";
      				exit 1;
      			}
      		}
      		$selects{$1} = $_;
      		next;
      	}
      	if (%selects and (/^\s*$/ or /^\s+help/ or /^\s+---help---/ or
      			  /^endif/ or /^endchoice/)) {
      		foreach $k (sort (keys %selects)) {
      			print "$selects{$k}";
      		}
      		undef %selects;
      	}
      	print;
      }
      if (%selects) {
      	foreach $k (sort (keys %selects)) {
      		print "$selects{$k}";
      	}
      }
      
      It found two duplicates:
      
      Warning: removing duplicated S5P_SETUP_MIPIPHY entry
      Warning: removing duplicated HARDIRQS_SW_RESEND entry
      
      and they are identical duplicates, hence the shrinkage in the diffstat
      of two lines.
      
      We have four testers reporting success of this change (Tony, Stephen,
      Linus and Sekhar.)
      Acked-by: NJason Cooper <jason@lakedaemon.net>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Acked-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b1b3f49c
  3. 07 3月, 2012 3 次提交
  4. 03 3月, 2012 3 次提交
    • H
      ARM: S3C24XX: Move s3c2443-clock.c to mach-s3c24xx · 8c3d7c30
      Heiko Stuebner 提交于
      S3C-SoCs starting with the S3C2443 can share a lot of functionality.
      The file can collect more common code of these SocS later on and
      therefore gets a new name to reflect this future purpose.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      8c3d7c30
    • K
      ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/ · 85fd6d63
      Kukjin Kim 提交于
      This patch moves S3C2410 stuff into mach-s3c24xx/ directory
      so that we can merge the s3c24 series' directories to the
      just one mach-s3c24xx/ directory.
      
      And this patch is including following.
      - re-ordered alphabetically by option text at Kconfig and Makefile
      - removed unused option, MACH_N35
      - fixed duplcated option name, S3C2410_DMA to S3C24XX_DMA which is
        in plat-s3c24xx/
      
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      85fd6d63
    • K
      ARM: S3C24XX: change the ARCH_S3C2410 to ARCH_S3C24XX · b130d5c2
      Kukjin Kim 提交于
      This patch changes the ARCH name to "ARCH_S3C24XX" for Samsung
      S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443,
      and S3C2450 SoCs so that we can merge the mach-xxx directories
      and plat-s3c24xx dir. to just one mach-s3c24xx for them.
      
      I think this should be sent to upstream via samsung tree because
      this touches many samsung stuff.
      
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      [for the gadget part:]
      Acked-by: NFelipe Balbi <balbi@ti.com>
      [for the framebuffer (video) part:]
      Acked-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      [For the watchdog-part:]
      Acked-by: NWim Van Sebroeck <wim@iguana.be>
      Cc: Sangbeom Kim <sbkim73@samsung.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      b130d5c2
  5. 27 1月, 2012 1 次提交
  6. 21 9月, 2011 1 次提交
  7. 18 7月, 2011 1 次提交
  8. 03 3月, 2011 1 次提交
  9. 17 12月, 2010 1 次提交
  10. 26 9月, 2010 1 次提交
  11. 19 5月, 2010 1 次提交
  12. 10 5月, 2010 1 次提交
  13. 06 5月, 2010 1 次提交
  14. 24 2月, 2010 1 次提交
  15. 02 2月, 2010 1 次提交
  16. 18 1月, 2010 1 次提交
  17. 01 12月, 2009 1 次提交
  18. 09 11月, 2009 1 次提交
  19. 17 8月, 2009 1 次提交
    • B
      ARM: S3C: Add S3C_DEV_NAND Kconfig entry · db616eb6
      Ben Dooks 提交于
      Currently the S5PC100 does not define S3C_PA_NAND, leaving the NAND device
      definitions in arch/arm/plat-s3c/dev-nand.c unbuildable. Add a KConfig
      entry to select whether this is built.
      
      As backwards compatibility, both the S3C24XX and S3C64XX define the new
      configuration in their main Kconfig files until better support for basing
      this selection on a per-machine basis can be sorted out.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      db616eb6
  20. 14 8月, 2009 1 次提交
  21. 31 7月, 2009 6 次提交
  22. 01 5月, 2009 1 次提交
  23. 18 12月, 2008 2 次提交
  24. 16 12月, 2008 4 次提交
  25. 26 7月, 2008 1 次提交
  26. 03 7月, 2008 2 次提交