1. 19 6月, 2013 6 次提交
  2. 08 6月, 2013 1 次提交
    • T
      ARM: EXYNOS: uncompress - print debug messages if DEBUG_LL is defined · 437d8ac5
      Tushar Behera 提交于
      Printing low-level debug messages make an assumption that the specified
      UART port has been preconfigured by the bootloader. Incorrectly
      specified UART port results in system getting stalled while printing the
      message "Uncompressing Linux... done, booting the kernel"
      This UART port number is specified through S3C_LOWLEVEL_UART_PORT. Since
      the UART port might different for different board, it is not possible to
      specify it correctly for every board that use a common defconfig file.
      
      Calling this print subroutine only when DEBUG_LL fixes the problem. By
      disabling DEBUG_LL in default config file, we would be able to boot
      multiple boards with different default UART ports.
      
      With this current approach, we miss the print "Uncompressing Linux...
      done, booting the kernel." when DEBUG_LL is not defined.
      Signed-off-by: NTushar Behera <tushar.behera@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      437d8ac5
  3. 21 5月, 2013 1 次提交
  4. 20 5月, 2013 1 次提交
  5. 27 4月, 2013 1 次提交
    • O
      Revert "ARM: exynos: enable multiplatform support" · 4923ee44
      Olof Johansson 提交于
      This reverts commit bd51de53.
      
      Turns out that multiplatform breaks some uses cases, such as when you
      have an existing defconfig, since it adds the new EXYNOS_SINGLE config
      option as a dependecy. As a result, nearly all exynos config options
      will be disabled by default.
      
      Reverting instead of rebasing since this branch is pulled in as a
      dependency elsewhere.
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      4923ee44
  6. 19 4月, 2013 5 次提交
    • A
      ARM: exynos: enable multiplatform support · bd51de53
      Arnd Bergmann 提交于
      This makes it possible to enable the exynos platform as part of a
      multiplatform kernel, in addition to keeping the single-platform
      exynos support.
      
      The multiplatform variant has a number of limitations at the moment:
      
      * It only supports DT-enabled machines. This is not a problem in
        the long run, as non-DT machines for exynos are going away.
        The main problem here is that the gpio code and the exynos_eint
        irqchip are not multiplatform capable but still required for
        ATAGS based boot.
      * The watchdog driver is still missing a conversion.
      * sparsemem and memory_holes are currently not supported in
        multiplatform.
      
      The the multiplatform aware ARCH_EXYNOS Kconfig symbol is disabled
      for now, as dependent patches are still pending in other
      subsystem trees. We will enable it once everything comes together.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      bd51de53
    • A
      rtc: s3c: make header file local · b9d7c5d3
      Arnd Bergmann 提交于
      Nothing outside of the rtc driver includes plat/regs-rtc.h,
      so we can simply move the file into the same directory,
      which allows us to build the file as platform-independent
      code.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: rtc-linux@googlegroups.com
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      b9d7c5d3
    • A
      mtd: onenand/samsung: make regs-onenand.h file local · 93115b7f
      Arnd Bergmann 提交于
      Nothing uses the NAND register definitions other than the
      actual driver, so we can move the header file into the
      same local directory, which lets us build it in a multiplatform
      configuration.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NKyungmin Park <kyungmin.park@samsung.com>
      Cc: linux-mtd@lists.infradead.org
      Cc: David Woodhouse <dwmw2@infradead.org>
      93115b7f
    • A
      mmc: sdhci-s3c: remove platform dependencies · cc014f3e
      Arnd Bergmann 提交于
      plat/regs-sdhci.h is not used anywhere but in the sdhci-s3c
      driver, so it can become a local file there and all other
      inclusions removed.
      
      plat/sdhci.h is used only to define the platform devices,
      and with the exception of the platform_data structure not
      needed by the driver, so we can split out the platform_data
      definition instead and leave the rest to platform code.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NChris Ball <cjb@laptop.org>
      cc014f3e
    • A
      ARM: exynos: move debug-macro.S to include/debug/ · a2e40710
      Arnd Bergmann 提交于
      The move is necessary to support early debug output on exynos
      with multiplatform configurations. This implies also moving the
      plat/debug-macro.S file, but we are leaving the remaining users of that
      file in place, to avoid adding large numbers of extra configuration
      options to Kconfig.debug
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      a2e40710
  7. 12 4月, 2013 3 次提交
    • A
      usb: exynos: do not include plat/usb-phy.h · cccfc536
      Arnd Bergmann 提交于
      The definitions have moved to include/linux/usb/samsung-usb-phy.h,
      and plat/usb-phy.h is unavailable from drivers in a multiplatform
      configuration.
      
      Also fix up the plat/usb-phy.h header file to use the definitions
      from the new header instead of providing a separate copy.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      cccfc536
    • A
      tty: serial/samsung: make register definitions global · 9ee51f01
      Arnd Bergmann 提交于
      The registers for the Samsung S3C serial port are currently defined in
      the platform specific arch/arm/plat-samsung/include/plat/regs-serial.h
      file, which is not visible to multiplatform capable drivers.
      
      Unfortunately, it is not possible to move the file into a more local
      place as we should normally try to, because the same registers
      may be used in one of four places:
      
      * In the driver itself
      * In platform-independent ARM code for early debug output
      * In platform_data definitions
      * In the Samsung platform power management code
      
      I have also found no way to logically split out a platform_data
      file, other than possibly move everything into
      include/linux/platform_data, which also felt wrong. The only
      part of this file that makes sense to keep specific to the s3c24xx
      platform are the virtual and physical addresses defined here,
      which are needed in no other location.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9ee51f01
    • A
      ASoC: samsung: move plat/ headers to local directory · 5d229ce5
      Arnd Bergmann 提交于
      The plat/regs-iis.h and plat/regs-ac97.h files in the samsung platform
      are only needed by the ASoC drivers, so they can be moved into the same
      directory, as one more step towards a multiplatform build.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      5d229ce5
  8. 11 4月, 2013 1 次提交
  9. 09 4月, 2013 1 次提交
  10. 08 4月, 2013 1 次提交
  11. 04 4月, 2013 2 次提交
  12. 24 3月, 2013 1 次提交
  13. 07 3月, 2013 1 次提交
  14. 05 3月, 2013 8 次提交
  15. 15 2月, 2013 1 次提交
  16. 14 2月, 2013 1 次提交
    • A
      ARM: samsung: fix assembly syntax for new gas · 2815774b
      Arnd Bergmann 提交于
      Recent assembler versions complain about extraneous
      whitespace inside [] brackets. This fixes all of
      these instances for the samsung platforms. We should
      backport this to all kernels that might need to
      be built with new binutils.
      
      arch/arm/kernel/entry-armv.S: Assembler messages:
      arch/arm/kernel/entry-armv.S:214: Error: ARM register expected -- `ldr r2,[ r6,#(0x10)]'
      arch/arm/kernel/entry-armv.S:214: Error: ARM register expected -- `ldr r0,[ r6,#(0x14)]'
      arch/arm/kernel/entry-armv.S:430: Error: ARM register expected -- `ldr r2,[ r6,#(0x10)]'
      arch/arm/kernel/entry-armv.S:430: Error: ARM register expected -- `ldr r0,[ r6,#(0x14)]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S: Assembler messages:
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:48: Error: ARM register expected -- `ldr r7,[ r4 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:49: Error: ARM register expected -- `ldr r8,[ r5 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:50: Error: ARM register expected -- `ldr r9,[ r6 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:64: Error: ARM register expected -- `streq r7,[ r4 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:65: Error: ARM register expected -- `streq r8,[ r5 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:66: Error: ARM register expected -- `streq r9,[ r6 ]'
      arch/arm/kernel/debug.S: Assembler messages:
      arch/arm/kernel/debug.S:83: Error: ARM register expected -- `ldr r2,[ r2,#((0x0B0)+(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000))))-((0)+(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000))))]'
      arch/arm/kernel/debug.S:83: Error: ARM register expected -- `ldr r2,[ r3,#(0x18)]'
      arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r2,#((0x0B0)+(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000))))-((0)+(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000))))]'
      arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r3,#(0x18)]'
      arch/arm/mach-s3c24xx/pm-h1940.S: Assembler messages:
      arch/arm/mach-s3c24xx/pm-h1940.S:33: Error: ARM register expected -- `ldr pc,[ r0,#((0x0B8)+(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000))))-(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000)))]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S: Assembler messages:
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:60: Error: ARM register expected -- `ldrne r9,[ r1 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:61: Error: ARM register expected -- `strne r9,[ r1 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:62: Error: ARM register expected -- `ldrne r9,[ r2 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:63: Error: ARM register expected -- `strne r9,[ r2 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:64: Error: ARM register expected -- `ldrne r9,[ r3 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:65: Error: ARM register expected -- `strne r9,[ r3 ]'
      arch/arm/kernel/debug.S:83: Error: ARM register expected -- `ldr r2,[ r3,#(0x08)]'
      arch/arm/kernel/debug.S:83: Error: ARM register expected -- `ldr r2,[ r3,#(0x18)]'
      arch/arm/kernel/debug.S:83: Error: ARM register expected -- `ldr r2,[ r3,#(0x10)]'
      arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r3,#(0x08)]'
      arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r3,#(0x18)]'
      arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r3,#(0x10)]'
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: stable@vger.kernel.org
      2815774b
  17. 13 2月, 2013 2 次提交
  18. 04 2月, 2013 3 次提交