1. 08 6月, 2016 2 次提交
  2. 07 6月, 2016 5 次提交
  3. 06 6月, 2016 3 次提交
  4. 05 6月, 2016 1 次提交
    • M
      arm: lib: Fix fix push/pop-section directives · 756e76f0
      Marek Vasut 提交于
      Repair typos in the previous "arm: lib: fix push/pop-section directives"
      patch, which prevented VCMA9 board from building.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Fixes: b2f18584 ("arm: lib: fix push/pop-section directives")
      Cc: Tom Warren <twarren@nvidia.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      756e76f0
  5. 04 6月, 2016 12 次提交
  6. 03 6月, 2016 17 次提交
    • L
      ARM: k2g: Configure reset mux to device reset · e2924e59
      Lokesh Vutla 提交于
      BOOTCFG_RSTMUX8 register controls the reset mux associated with the ARM.
      Timer5(dedicated to ARM) when used as WatchDog timer, the events it
      generates are routed to the above mux.
      
      Following are the 3 events that can controlled bt the reset mux:
      - Device Reset
      - An interrupt to the ARM_GIC
      - An interrupt to the ARM_GIC followed by a device reset.
      
      Right now to give a default watchdog behaviour "Device reset" is
      being selected.
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      Acked-by: NNishanth Menon <nm@ti.com>
      e2924e59
    • K
      arm: omap: Introduce vcores_init function · 61462cd7
      Keerthy 提交于
      The pmic registers for variants of am57xx boards are different
      hence we need to assign them carefully based on the board type.
      Add a function to assign omap_vcores after the board detection.
      Signed-off-by: NKeerthy <j-keerthy@ti.com>
      61462cd7
    • A
      ARM: DRA7: Add macros for voltage values for all OPPs · 88730f19
      Anna, Suman 提交于
      Define specific macros for the voltage values for all voltage
      domains for all applicable OPPs - OPP_NOM, OPP_OD and OPP_HIGH.
      No separate macros are defined for VD_MPU and VD_CORE at OPP_OD
      and OPP_HIGH as these use the same values as OPP_NOM.
      
      The current macros will be used as common macros that can be
      redefined appropriately based on a selected OPP configuration
      at build time.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      88730f19
    • A
      ARM: DRA7: Consolidate voltage macros across different SoCs · e42523f5
      Anna, Suman 提交于
      The voltage values for each voltage domain at an OPP is identical
      across all the SoCs in the DRA7 family. The current code defines
      one set of macros for DRA75x/DRA74x SoCs and another set for DRA72x
      macros. Consolidate both these sets into a single set.
      
      This is done so as to minimize the number of macros used when voltage
      values will be added for other OPPs as well.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      e42523f5
    • A
      ARM: DRA7: Define common macros for efuse register offsets · 27c9596f
      Anna, Suman 提交于
      Define a set of common macros for the efuse register offsets
      (different for each OPP) that are used to get the AVS Class 0
      voltage values and ABB configuration values. Assign these
      common macros to the register offsets for OPP_NOM by default
      for all voltage domains. These common macros can then be
      redefined properly to point to the OPP specific efuse register
      offset based on the desired OPP to program a specific voltage
      domain.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      27c9596f
    • A
      ARM: DRA7: Update/Correct MPU and CORE OPP_NOM voltage values · 36080228
      Anna, Suman 提交于
      The current OPP_NOM voltage values defined for the MPU and CORE
      voltage domains are based on the initial DRA75x_74x_SR1.1_DM data
      manual. As per this DM, the PMIC boot voltage can be set to either
      1.10V or 1.15V for VD_MPU, and either 1.06V or 1.15V for VD_CORE.
      While the current values are correct, the latter set of values
      are the values that are common across all DRA75x, DRA72x SoCs and
      for all current Silicon revisions. So, update both the MPU and CORE
      OPP_NOM voltages to 1.15V.
      
      The macros are also slightly reorganized so that both the MPU and
      CORE voltage domain values are defined together.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      36080228
    • R
      dra7xx: Enable USB_PHY3 32KHz clock · 3599774e
      Roger Quadros 提交于
      DRA7xx has a 32KHz PHY clock for USB_PHY3 that must be enabled
      for USB1 instance in Super-Speed.
      Signed-off-by: NRoger Quadros <rogerq@ti.com>
      3599774e
    • R
      ARM: OMAP5+: Provide enable/disable_usb_clocks() for CONFIG_USB_XHCI_OMAP · 383f4a0e
      Roger Quadros 提交于
      CONFIG_USB_XHCI_OMAP is enabled for host mode independent of CONFIG_USB_DWC3
      which is meant for gadget mode only. We need enable/disbale_usb_clocks() for
      host mode as well so provide for it.
      
      Fixes: 09cc14f4 ("ARM: AM43xx: Add functions to enable and disable USB clocks"
      Signed-off-by: NRoger Quadros <rogerq@ti.com>
      383f4a0e
    • M
      arm: lib: Split asm symbols into different .text subsections · 13b0a91a
      Marek Vasut 提交于
      Split each symbol in lib1funcs into different .text.foo section instead
      of placing all of them into plain .text . This allows the linker to collect
      and discard unused assembler symbols.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      13b0a91a
    • M
      arm: lib: Import Thumb1 functions · 806f86bd
      Marek Vasut 提交于
      Import functions into lib1funcs.S which are required for Thumb1
      build. These functions come from gcc 5.3.1 release.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      806f86bd
    • M
      arm: lib: import muldi3.S from Linux · 0bf65c64
      Marek Vasut 提交于
      Import muldi3.S from Linux 4.4.6 , commit 0d1912303e54ed1b2a371be0bba51c384dd57326
      on arm32. This file implements __aeabi_lmul and it's alias __muldi3, which
      is needed when doing Thumb1 builds.
      
      This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
      which is necessary for correct build of these files both in ARM and
      Thumb mode, just like Linux does.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      0bf65c64
    • M
      arm: lib: Repair Warning: conditional infixes are deprecated in unified syntax · 40d67c75
      Marek Vasut 提交于
      Fix the following warning when building for thumb2 target by tweaking the
      instruction syntax:
      
      Warning: conditional infixes are deprecated in unified syntax
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      40d67c75
    • M
      arm: lib: Import __do_div64 from Linux · 7b9f9c5d
      Marek Vasut 提交于
      Import __do_div64 from Linux 4.4.6 , commit 0d1912303e54ed1b2a371be0bba51c384dd57326
      on arm32. This function is for some toolchains, which generate _udivmoddi4()
      for 64 bit division.
      
      Since we do not support stack unwinding, instead of importing the whole
      asm/unwind.h and all the baggage, this patch defines empty UNWIND() macro.
      
      This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
      which is necessary for correct build of these files both in ARM and
      Thumb mode, just like Linux does.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      7b9f9c5d
    • M
      arm: lib: Fix uldivmod.S build on Thumb2 · e64d7594
      Marek Vasut 提交于
      This assembler source won't build in Thumb2 mode, so fix it adding
      the necessary Thumb2 conditional macros from unified.h .
      
      This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
      which is necessary for correct build of these files both in ARM and
      Thumb mode, just like Linux does.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      e64d7594
    • M
      arm: lib: Sync libgcc 32b division/modulo operations · c5a543ea
      Marek Vasut 提交于
      Sync the libgcc 32bit division and modulo operations with Linux 4.4.6 ,
      commit 0d1912303e54ed1b2a371be0bba51c384dd57326 . The functions in these
      four files are present in lib1funcs.S in Linux, so replace these files
      with lib1funcs.S from Linux.
      
      Since we do not support stack unwinding, instead of importing the whole
      asm/unwind.h and all the baggage, this patch defines empty UNWIND() macro
      in lib1funcs.S . Moreover, to make all of the functions available, define
      CONFIG_AEABI , which is safe, because U-Boot is always compiled with ARM
      EABI.
      
      This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
      which is necessary for correct build of these files both in ARM and
      Thumb mode, just like Linux does.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      c5a543ea
    • M
      arm: lib: Sync libgcc shift operations · 06b36cb7
      Marek Vasut 提交于
      Sync the libgcc shift operations with Linux kernel 4.4.6 , commit
      0d1912303e54ed1b2a371be0bba51c384dd57326 . Syncing these three
      files is easy, as there is almost no change in them, except the
      addition of Thumb support.
      
      This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED
      which is necessary for correct build of these files both in ARM and
      Thumb mode, just like Linux does.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      06b36cb7
    • M
      arm: lib: Drop underscore from private libgcc filenames · 11b1a9b2
      Marek Vasut 提交于
      Drop the underscore from the filenames of files implementing libgcc
      routines. There is no functional change. This change is done to make
      sync with Linux kernel easier.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      11b1a9b2