1. 14 2月, 2014 1 次提交
  2. 18 1月, 2014 1 次提交
  3. 26 11月, 2013 2 次提交
  4. 19 10月, 2013 4 次提交
  5. 08 10月, 2013 1 次提交
  6. 26 9月, 2013 1 次提交
  7. 21 8月, 2013 1 次提交
  8. 13 8月, 2013 2 次提交
  9. 25 7月, 2013 1 次提交
  10. 09 7月, 2013 1 次提交
  11. 06 7月, 2013 2 次提交
    • A
      ARM: OMAP: build mach-omap code only if needed · 59d92875
      Arnd Bergmann 提交于
      If we build a kernel with CONFIG_ARCH_OMAP2PLUS enabled but all of the
      individual SoCs disabled, we run into a large number of link errors
      because if incorrect dependencies:
      
      arch/arm/mach-omap2/built-in.o: In function `_add_initiator_dep':
      arch/arm/mach-omap2/omap_hwmod.c:691: undefined reference to `clkdm_add_sleepdep' arch/arm/mach-omap2/built-in.o: In function `_del_initiator_dep':
      arch/arm/mach-omap2/omap_hwmod.c:720: undefined reference to `clkdm_del_sleepdep' arch/arm/mach-omap2/built-in.o: In function `_enable':
      arch/arm/mach-omap2/omap_hwmod.c:2145: undefined reference to `clkdm_in_hwsup'
      arch/arm/mach-omap2/omap_hwmod.c:2147: undefined reference to `clkdm_hwmod_enable'
      arch/arm/mach-omap2/omap_hwmod.c:2191: undefined reference to `clkdm_hwmod_disable'
      arch/arm/mach-omap2/omap_hwmod.c:2146: undefined reference to `clkdm_missing_idle_reporting' arch/arm/mach-omap2/built-in.o: In function `_idle':
      arch/arm/mach-omap2/omap_hwmod.c:2235: undefined reference to `clkdm_hwmod_disable' arch/arm/mach-omap2/built-in.o: In function `_shutdown':
      arch/arm/mach-omap2/omap_hwmod.c:2338: undefined reference to `clkdm_hwmod_disable' arch/arm/mach-omap2/built-in.o: In function `omap_hwmod_get_context_loss_count':
      arch/arm/mach-omap2/omap_hwmod.c:4071: undefined reference to `pwrdm_get_context_loss_count' arch/arm/mach-omap2/built-in.o: In function `omap_pm_clkdms_setup':
      arch/arm/mach-omap2/pm.c:114: undefined reference to `clkdm_allow_idle'
      arch/arm/mach-omap2/pm.c:117: undefined reference to `clkdm_sleep' arch/arm/mach-omap2/built-in.o: In function `omap2_common_pm_late_init':
      arch/arm/mach-omap2/pm.c:294: undefined reference to `omap_voltage_late_init' arch/arm/mach-omap2/built-in.o: In function `omap2_gpio_dev_init':
      arch/arm/mach-omap2/gpio.c:133: undefined reference to `pwrdm_can_ever_lose_context'
      
      We can avoid this if we make CONFIG_ARCH_OMAP2PLUS a silent option that
      gets enabled any time that one of the SoC versions is enabled.
      
      Cc: Tony Lindgren <tony@atomide.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      59d92875
    • A
      ARM: omap5: omap5 has SCU and TWD · 896eba3b
      Arnd Bergmann 提交于
      These are selected by omap4 but used in common omap4/5
      SMP code, so building an omap5-only kernel is actually
      broken without this patch.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Tony Lindgren <tony@atomide.com>
      896eba3b
  12. 04 7月, 2013 1 次提交
    • S
      ARM: OMAP5: Enable Cortex A15 errata 798181 · 62618c17
      Santosh Shilimkar 提交于
      ARM errata 798181 is applicable for OMAP5 based devices. So enable
      the same in the build. Errata extract and workaround information
      is as below.
      
      On Cortex-A15 (r0p0..r3p2) the TLBI*IS/DSB operations are not
      adequately shooting down all use of the old entries. The
      ARM_ERRATA_798181 option enables the Linux kernel workaround
      for this erratum which sends an IPI to the CPUs that are running
      the same ASID as the one being invalidated.
      
      Cc: Tony Lindgren <tony@atomide.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      62618c17
  13. 25 6月, 2013 2 次提交
  14. 24 6月, 2013 1 次提交
  15. 17 6月, 2013 1 次提交
  16. 12 6月, 2013 2 次提交
  17. 31 5月, 2013 3 次提交
    • T
      ARM: OMAP2+: Remove legacy mux data for omap4 · c99eb41c
      Tony Lindgren 提交于
      We can now boot with devicetree and muxing can be done
      with pinctrl-single.c.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      c99eb41c
    • T
      ARM: OMAP2+: Remove board-omap4panda.c · b42b9181
      Tony Lindgren 提交于
      We can now boot with device tree. If you don't want to update u-boot,
      you can boot with appended DTB with the following instructions:
      
      1. Make sure you have the appended DTB support in .config
      
         CONFIG_ARM_APPENDED_DTB=y
         CONFIG_ARM_ATAG_DTB_COMPAT=y
         CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND=y
      
      2. Build the zImage
      
         $ ARCH=arm CROSS_COMPILE=... make zImage
      
      3. Build the device tree blobs
      
         $ ARCH=arm CROSS_COMPILE=... make dtbs
      
      4. Append the correct panda dtb to zImage
      
         Depending on your hardware it's omap4-panda.dtb, omap4-panda-a4.dtb
         or omap4-panda-es.dtb.
      
         $ cat arch/arm/boot/zImage arch/arm/boot/dts/omap4-panda-es.dtb > /tmp/appended
      
      5. Use mkimage to produce the appended device tree uImage
      
         $ mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 \
           -n "Linux" -d /tmp/appended /tmp/uImage
      
      Signed-off-by: Tony Lindgren <tony@atomide.com
      b42b9181
    • T
      ARM: OMAP2+: Remove board-4430sdp.c · 76787b3b
      Tony Lindgren 提交于
      We can now boot with device tree. If you don't want to update u-boot,
      you can boot with appended DTB with the following instructions:
      
      1. Make sure you have the appended DTB support in .config
      
         CONFIG_ARM_APPENDED_DTB=y
         CONFIG_ARM_ATAG_DTB_COMPAT=y
         CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND=y
      
      2. Build the zImage
      
         $ ARCH=arm CROSS_COMPILE=... make zImage
      
      3. Build the device tree blobs
      
         $ ARCH=arm CROSS_COMPILE=... make dtbs
      
      4. Append the dtb to zImage
      
         $ cat arch/arm/boot/zImage arch/arm/boot/dts/omap4-sdp.dtb > /tmp/appended
      
      5. Use mkimage to produce the appended device tree uImage
      
         $ mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 \
           -n "Linux" -d /tmp/appended /tmp/uImage
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      76787b3b
  18. 04 5月, 2013 1 次提交
    • T
      ARM: OMAP2+: Fix unmet direct dependencies for SERIAL_OMAP · eb16d332
      Tony Lindgren 提交于
      Commit 8a6201b9 (ARM: OMAP2+: Fix unmet direct dependencies for zoom
      for 8250 serial) fixed unmet direct dependencies for 8250, but failed
      to do the same for omap serial. This can cause the following warning:
      
      warning: (ARCH_OMAP2PLUS_TYPICAL) selects SERIAL_OMAP which has
      unmet direct dependencies (TTY && HAS_IOMEM && GENERIC_HARDIRQS &&
      ARCH_OMAP2PLUS).
      
      We should not select drivers, they should be selected by the
      user. Fix the issue by removing the select and adding them to
      omap2plus_defconfig instead.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      eb16d332
  19. 24 4月, 2013 1 次提交
    • A
      ARM: OMAP2+: add dependencies on ARCH_MULTI_V6/V7 · 4b0ed696
      Arnd Bergmann 提交于
      CONFIG_ARCH_OMAP2PLUS depends on (ARCH_MULTI_V6 || ARCH_MULTI_V7) as of
      a0694861 "ARM: OMAP2+: Enable ARCH_MULTIPLATFORM support", but the
      individual OMAP2/3/4/5 and AM33XX platforms can all be selected independent
      of what we are building for, which is a bug and prevents us from easily
      building e.g. an ARMv7-only defconfig.
      
      This makes ARCH_OMAP2 depend on ARCH_MULTI_V6 and the others depend on
      ARCH_MULTI_V7, to ensure we really only build the platforms for the
      CPUs we have enabled in the global multiplatform configuration step.
      
      Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      4b0ed696
  20. 10 4月, 2013 1 次提交
  21. 09 4月, 2013 2 次提交
  22. 19 3月, 2013 1 次提交
  23. 05 3月, 2013 1 次提交
  24. 02 2月, 2013 1 次提交
  25. 31 1月, 2013 1 次提交
  26. 12 1月, 2013 2 次提交
    • T
      ARM: OMAP2+: Enable ARCH_MULTIPLATFORM support · a0694861
      Tony Lindgren 提交于
      Flip on multiplatform support for omap2+.
      
      No changes to omap2plus_defconfig needed, but please note
      that you may need to update your custom config files to
      make sure you have:
      
      CONFIG_ARCH_MULTIPLATFORM=y
      CONFIG_ARCH_MULTI_V7=y
      CONFIG_ARCH_OMAP2PLUS=y
      
      And may need CONFIG_ARCH_MULTI_V6=y if booting omap2 boards.
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Tested-by: NEzequiel Garcia <ezequiel.garcia@free-electrons.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      a0694861
    • T
      ARM: OMAP2+: Disable code that currently does not work with multiplaform · a62a6e98
      Tony Lindgren 提交于
      We still need to fix up few places for multiplatform support,
      but that can proceed separately. Fix the issue by making the
      problem drivers depends !ARCH_MULTIPLATFORM for now.
      
      The remaining pieces that are not multiplatform compatible
      for omap2+ SoCs are:
      
      1. Some drivers are using custom omap_dm_timer calls
      
      There are two drivers that are directly usign omap hardware
      timers for PWM and DSP clocking: drivers/media/rc/ir-rx51.c and
      drivers/staging/tidspbridge/core/dsp-clock.c. These can be
      fixed for multiplatform by allowing a minimal set of hardware
      timers to be accessed, and for some functionality by using the
      hrtimer framework.
      
      2. Hardware OMAP4_ERRATA_I688 needs to be fixed up
      
      This can't be enabled for multiplatform configurations in
      it's current form. It may be possible to fix it up to do
      instruction replacement early on during init. Luckily it
      looks like this errata does not seem to get hit with
      mainline kernel code alone at least currently.
      
      3. Legacy header needed for omap-sham.c
      
      Looks like it still needs mach/irqs.h for omap1 that
      does not exist for multiplatform systems. Just ifdef
      it for now.
      
      4. Mailbox is waiting to get moved to drivers
      
      Disable it for now to avoid adding a dependency to the
      mailbox patches.
      
      Cc: Timo Kokkonen <timo.t.kokkonen@iki.fi>
      Cc: Sean Young <sean@mess.org>
      Cc: "Víctor Manuel Jáquez Leal" <vjaquez@igalia.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Cc: Omar Ramirez Luna <omar.ramirez@ti.com>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
      Tested-by: NEzequiel Garcia <ezequiel.garcia@free-electrons.com>
      [tony@atomide.com: updated to disable mailbox]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      a62a6e98
  27. 15 12月, 2012 1 次提交
    • J
      ARM: OMAP2+: Fix realtime_counter_init warning in timer.c · 34cceb74
      Jon Hunter 提交于
      In commit fa6d79d2 (ARM: OMAP: Add initialisation for the real-time
      counter), the function realtime_counter_init() was added. However, if
      the kernel configuration option CONFIG_SOC_OMAP5 is not selected then
      the following compiler warning is observed.
      
        CC      arch/arm/mach-omap2/timer.o
        arch/arm/mach-omap2/timer.c:489:20: warning: ‘realtime_counter_init’
        defined but not used [-Wunused-function]
      
      Commit fa6d79d2 also introduced the kernel configuration option
      CONFIG_SOC_HAS_REALTIME_COUNTER. If this option is not selected then the
      a stub function for realtime_counter_init() is defined.
      
      For non-OMAP5 devices, there is no realtime counter and so
      realtime_counter_init() function and stub function are not used for
      these devices. Therefore, fix this warning by only allowing the kernel
      configuration option CONFIG_SOC_HAS_REALTIME_COUNTER to be enabled for
      OMAP5 devices.
      
      Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
      Reported-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NJon Hunter <jon-hunter@ti.com>
      Acked-by Santosh Shilimkar <santosh.shilimkar@ti.com>
      34cceb74
  28. 13 11月, 2012 1 次提交