1. 16 Jun, 2021 1 commit
    • Linus Walleij's avatar
      ARM/ixp4xx: Make NEED_MACH_IO_H optional · d5d9f7ac
      Linus Walleij authored
      
      
      In order to create a proper PCI driver for the IXP4xx
      we need to make the old PCI driver and its reliance
      on <mach/io.h> optional.
      
      Create a new Kconfig symbol for the legacy PCI driver
      IXP4XX_PCI_LEGACY and only activate NEED_MACH_IO_H
      for this driver.
      
      A few files need to be adjusted to explicitly include
      the <mach/hardware.h> and <mach/cpu.h> headers that
      they previously obtained implicitly using <linux/io.h>
      that would include <mach/io.h> and in turn include
      these two headers.
      
      This breaks our reliance on the old PCI and indirect
      PCI support so we can reimplement a proper purely
      DT-based driver in the PCI subsystem.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Cc: Krzysztof Halasa <khalasa@piap.pl>
      Cc: Zoltan HERPAI <wigyori@uid0.hu>
      Cc: Raylynn Knight <rayknight@me.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      d5d9f7ac
  2. 18 Jan, 2021 1 commit
  3. 15 Jul, 2019 1 commit
    • Mauro Carvalho Chehab's avatar
      docs: arm: convert docs to ReST and rename to *.rst · dc7a12bd
      Mauro Carvalho Chehab authored
      
      
      Converts ARM the text files to ReST, preparing them to be an
      architecture book.
      
      The conversion is actually:
        - add blank lines and identation in order to identify paragraphs;
        - fix tables markups;
        - add some lists markups;
        - mark literal blocks;
        - adjust title markups.
      
      At its new index.rst, let's add a :orphan: while this is not linked to
      the main index.rst file, in order to avoid build warnings.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      Reviewed-by Corentin Labbe <clabbe.montjoie@gmail.com> # For sun4i-ss
      dc7a12bd
  4. 18 Jun, 2019 1 commit
    • Arnd Bergmann's avatar
      ARM: ixp4xx: don't select SERIAL_OF_PLATFORM · 6d8df602
      Arnd Bergmann authored
      Platforms should not normally select all the device drivers, leave that
      up to the user and the defconfig file.
      
      In this case, we get a warning for randconfig builds:
      
      WARNING: unmet direct dependencies detected for SERIAL_OF_PLATFORM
        Depends on [n]: TTY [=y] && HAS_IOMEM [=y] && SERIAL_8250 [=n] && OF [=y]
        Selected by [y]:
        - MACH_IXP4XX_OF [=y] && ARCH_IXP4XX [=y]
      
      Fixes: 9540724c
      
       ("ARM: ixp4xx: Add device tree boot support")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      6d8df602
  5. 21 May, 2019 1 commit
  6. 23 Apr, 2019 2 commits
    • Linus Walleij's avatar
      ARM: ixp4xx: Move NPE and QMGR to drivers/soc · fcf2d897
      Linus Walleij authored
      
      
      The Network Processing Engine and Queue Manager are
      versatile firmware components used by several IXP4xx
      drivers.
      
      Drivers are relying on getting access to these components
      using <mach/*> headers which does not work with
      multiplatform. We need to find a better place for the
      drivers to live.
      
      Let's first move them to drivers/soc and the start to
      refactor a bit by passing resources and moving headers.
      
      This patch introduce static IRQ assignments but that
      will be fixed by later patches in this series.
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      fcf2d897
    • Linus Walleij's avatar
      ARM: ixp4xx: Add device tree boot support · 9540724c
      Linus Walleij authored
      
      
      This adds a minimal support for booting IXP4xx systems
      from device tree.
      
      We have to add hacks to the QMGR, NPE and notably also
      ethernet and watchdog drivers so that they don't crash
      the platform: these drivers are unconditionally starting
      to grab regions of statically remapped IO space with no
      concern of the device model or other platforms.
      
      We will go in and properly fix these drivers as we go
      along but for now this hack gets us to a place where we
      can start working on proper device tree support for these
      platforms.
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      9540724c
  7. 23 Nov, 2018 1 commit
  8. 19 Oct, 2013 1 commit
    • Ben Dooks's avatar
      ARM: fix ARCH_IXP4xx usage of ARCH_SUPPORTS_BIG_ENDIAN · d10d2d48
      Ben Dooks authored
      
      
      The Kconfig for arch/arm/mach-ixp4xx has a local definition
      of ARCH_SUPPORTS_BIG_ENDIAN which could be used elsewhere.
      This means that if IXP4xx is selected and this symbol is
      selected eleswhere then an warning is produced.
      
      Clean the following error up by making the symbol be
      selected by the main ARCH_IXP4XX definition and have a
      common definition in arch/arm/mm/Kconfig
      
      warning: (ARCH_xxx) selects ARCH_SUPPORTS_BIG_ENDIAN which has unmet direct dependencies (ARCH_IXP4XX)
      warning: (ARCH_xxx) selects ARCH_SUPPORTS_BIG_ENDIAN which has unmet direct dependencies (ARCH_IXP4XX)
      Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
      d10d2d48
  9. 03 Jun, 2013 1 commit
  10. 13 Oct, 2012 1 commit
    • Russell King's avatar
      ARM: config: sort select statements alphanumerically · b1b3f49c
      Russell King authored
      
      
      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: default avatarJason Cooper <jason@lakedaemon.net>
      Acked-by: default avatarTony Lindgren <tony@atomide.com>
      Acked-by: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Acked-by: default avatarSekhar Nori <nsekhar@ti.com>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      b1b3f49c
  11. 30 Sep, 2011 1 commit
  12. 27 May, 2010 1 commit
  13. 05 Dec, 2009 1 commit
  14. 23 May, 2009 1 commit
  15. 17 Oct, 2008 1 commit
  16. 04 Apr, 2008 1 commit
    • Rod Whitby's avatar
      [ARM] 4874/2: ixp4xx: Add support for the Freecom FSG-3 board · 7e36e2f5
      Rod Whitby authored
      
      
      The Freecom-FSG3 is a small network-attached-storage device with the
      following feature set:
      
      * Intel IXP422
      * 4MB Flash (ixp4xx flash driver)
      * 64MB RAM
      * 4 USB 2.0 host ports (ehci and ohci drivers)
      * 1 WAN (eth1) and 3 LAN (eth0) ethernet ports
        * Supported by the open source ixp4xx ethernet driver
      * Via VT6421 disk controller (libata and sata-via drivers)
        * Internal hard disk (PATA supported, SATA not yet supported)
        * External SATA port (not yet supported)
      * ISL1208 RTC chip
      * Winbond 83782 temp sensor and fan controller
      * MiniPCI slot
      
      The ixp4xx_defconfig is also updated to support this device (the
      leds-fsg driver is to be submitted separately via the leds tree after
      this initial support is merged, as it depends on header gpio defines).
      Signed-off-by: default avatarRod Whitby <rod@whitby.id.au>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      7e36e2f5
  17. 04 Feb, 2008 1 commit
  18. 12 Jul, 2007 2 commits
  19. 26 May, 2007 1 commit
  20. 05 May, 2007 1 commit
  21. 21 Apr, 2007 1 commit
  22. 06 Feb, 2007 1 commit
  23. 30 Nov, 2006 1 commit
  24. 25 Jun, 2006 1 commit
  25. 04 Jun, 2006 1 commit
  26. 30 Apr, 2006 1 commit
  27. 08 Mar, 2006 1 commit
  28. 04 Jan, 2006 1 commit
    • Rod Whitby's avatar
      [ARM] 3215/1: Iomega NAS 100d (MACH_NAS100D) machine support · 3145d8a6
      Rod Whitby authored
      
      
      Patch from Rod Whitby
      
      This patch adds support for a new arm/ixp4xx machine - the Iomega NAS 100d network attached storage product.  The NAS100D is a consumer device containing a 266MHz Intel IXP420 processor, 16MB of flash, 64MB of RAM, a 160Gb internal IDE hard disk, and 802.11b/g wireless on an Atheros mini-PCI card.
      
      Work on porting the latest 2.6.x kernel to this device is being done by
      the NSLU2-Linux project (the same team who maintains the port to the
      Linksys NSLU2 device).  In particular, the majority of this patch was
      authored by Alessandro Zummo, based on the work done for MACH_NSLU2
      support by the NSLU2-Linux core team of developers.
      
      MACH_NAS100D (as implemented by this patch) can be enabled in jumbo
      ixp4xx kernels without any affect on the other machines supported by
      that kernel.
      
      This patch applies cleanly against 2.6.15-rc7 and should be trivial to
      apply to later kernel versions. It does not depend upon any other
      patches.
      
      Modified files (and number of lines inserted):
       arch/arm/mach-ixp4xx/Kconfig           |    8
       arch/arm/mach-ixp4xx/Makefile          |    1
       include/asm-arm/arch-ixp4xx/hardware.h |    1
       include/asm-arm/arch-ixp4xx/irqs.h     |    9
       include/asm-arm/arch-ixp4xx/nas100d.h  |   75
       arch/arm/mach-ixp4xx/nas100d-pci.c     |   77
       arch/arm/mach-ixp4xx/nas100d-power.c   |   69
       arch/arm/mach-ixp4xx/nas100d-setup.c   |  133
      
      -- Rod Whitby (NSLU2-Linux project lead)
      Signed-off-by: default avatarRod Whitby <rod@whitby.id.au>
      Signed-off-by: default avatarAlessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      3145d8a6
  29. 10 Nov, 2005 1 commit
    • Alessandro Zummo's avatar
      [ARM] 3140/1: NSLU2 machine support · a7918f39
      Alessandro Zummo authored
      
      
      Patch from Alessandro Zummo
      
      This patch adds support for the LinkSys NSLU2 running with
      both big and little-endian kernels. The LinkSys NSLU2 is
      a cost engineered ARM, XScale 420 based system similar to
      the the Intel IXDP425 evaluation board. It uses the
      IXP4XX ARCH.
      
      While this patch applies independently of other patches
      the resultant kernel requires further patches to successfully
      use onboard devices, including the onboard flash. Since these
      patches are independent of this one they will be submitted
      separately.
      
      A defconfig is not included here because not all of
      the required drivers are actually in the kernel.
      We intend to provide one as soon as the patches
      will be incorporated in mainstream.
      
      This patch is the combined work of nslu2-linux.org
      Signed-off-by: default avatarJohn Bowler <jbowler@acm.org>
      Signed-off-by: default avatarAlessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: default avatarDeepak Saxena <dsaxena@plexity.net>
      Signed-off-by: default avatarLennert Buytenhek <buytenh@wantstofly.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      a7918f39
  30. 16 Apr, 2005 2 commits
    • akpm@osdl.org's avatar
      [PATCH] arm: fix help text for ixdp465 · 7aa52f51
      akpm@osdl.org authored
      
      
      )
      
      
      From: Russell King <rmk+lkml@arm.linux.org.uk>
      
      For some reason, this help text was missed when the file was last audited
      by the documentation referencing folk.  Fix this incorrect documentation
      reference.
      Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      7aa52f51
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4