1. 13 3月, 2015 2 次提交
  2. 06 3月, 2015 2 次提交
  3. 05 3月, 2015 1 次提交
  4. 25 2月, 2015 1 次提交
  5. 17 2月, 2015 1 次提交
  6. 13 2月, 2015 2 次提交
  7. 30 1月, 2015 2 次提交
  8. 17 1月, 2015 1 次提交
    • T
      TI ARMv7: Don't use GD before crt0.S has set it · a6b541b0
      Tom Rini 提交于
      Prior to this change we set the gd pointer early so that we can store
      data in it.  This becomes problematic for DM changes as well as being
      odd in general.  Re-work the code paths so that we don't need to set the
      gd pointer so early and instead can rely upon the normal setting of it.
      
      In order to do this we do need to move certain calls from s_init into
      spl_board_init(), mainly preloader_console_init and
      save_omap_boot_params.
      
      Tested on: Beaglebone Black, AM43xx GP EVM, Beagleboard, Beagleboard xM,
      OMAP5 uEVM, DRA7xx EVM
      Signed-off-by: NTom Rini <trini@ti.com>
      Tested-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      a6b541b0
  9. 07 11月, 2014 1 次提交
  10. 29 10月, 2014 1 次提交
    • G
      kconfig: arm: introduce symbol for ARM CPUs · 2e07c249
      Georges Savoundararadj 提交于
      This commit introduces a Kconfig symbol for each ARM CPU:
      CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
      CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
      Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
      for CPU_ARM1176 and CPU_V7.
      
      For each target, the corresponding CPU is selected and the definition of
      SYS_CPU in the corresponding Kconfig file is removed.
      
      Also, it removes redundant "string" type in some Kconfig files.
      Signed-off-by: NGeorges Savoundararadj <savoundg@gmail.com>
      Acked-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      2e07c249
  11. 28 10月, 2014 1 次提交
  12. 27 10月, 2014 1 次提交
  13. 26 10月, 2014 1 次提交
  14. 25 10月, 2014 1 次提交
  15. 24 10月, 2014 1 次提交
  16. 23 10月, 2014 1 次提交
  17. 14 9月, 2014 1 次提交
  18. 31 8月, 2014 1 次提交
  19. 26 7月, 2014 1 次提交
  20. 20 6月, 2014 1 次提交
  21. 12 6月, 2014 1 次提交
  22. 07 6月, 2014 1 次提交
  23. 24 5月, 2014 1 次提交
    • P
      ARM: omap: merge GPMC initialization code for all platform · a0a37183
      pekon gupta 提交于
      GPMC controller on TI's OMAP SoC is general purpose controller to interface
      with different types of external devices like;
       - parallel NOR flash
       - parallel NAND flash
       - OneNand flash
       - SDR RAM
       - Ethernet Devices like LAN9220
      
      Though GPMC configurations may be different for each platform depending on
      clock-frequency and external device interfacing with controller. But
      initialization sequence remains common across all platfoms.
      
      Thus this patch merges gpmc_init() scattered in different arch-xx/mem.c
      files into single omap-common/mem-common.c
      
      However, actual platforms specific register config values are still sourced
      from corresponding platform specific headers like;
       AM33xx: arch/arm/include/asm/arch-am33xx/mem.h
       OMAP3:  arch/arm/include/asm/arch-omap3/mem.h
       OMAP4:  arch/arm/include/asm/arch-omap4/mem.h
       OMAP4:  arch/arm/include/asm/arch-omap5/mem.h
      
      Also, CONFIG_xx passed by board-profile decide config for which set of macros
      need to be used for initialization
       CONFIG_NAND:    initialize GPMC for NAND device
       CONFIG_NOR:     initialize GPMC for NOR device
       CONFIG_ONENAND: initialize GPMC for ONENAND device
      Signed-off-by: NPekon Gupta <pekon@ti.com>
      [trini: define GPMC_SIZE_256M for omap3]
      Signed-off-by: NTom Rini <trini@ti.com>
      a0a37183
  24. 18 4月, 2014 4 次提交
  25. 27 2月, 2014 1 次提交
  26. 26 2月, 2014 1 次提交
  27. 20 2月, 2014 1 次提交
    • M
      kbuild: change out-of-tree build · 9e414032
      Masahiro Yamada 提交于
      This commit changes the working directory
      where the build process occurs.
      
      Before this commit, build process occurred under the source
      tree for both in-tree and out-of-tree build.
      
      That's why we needed to add $(obj) prefix to all generated
      files in makefiles like follows:
        $(obj)u-boot.bin:  $(obj)u-boot
      
      Here, $(obj) is empty for in-tree build, whereas it points
      to the output directory for out-of-tree build.
      
      And our old build system changes the current working directory
      with "make -C <sub-dir>" syntax when descending into the
      sub-directories.
      
      On the other hand, Kbuild uses a different idea
      to handle out-of-tree build and directory descending.
      
      The build process of Kbuild always occurs under the output tree.
      When "O=dir/to/store/output/files" is given, the build system
      changes the current working directory to that directory and
      restarts the make.
      
      Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj=<sub-dir>"
      syntax for descending into sub-directories.
      (We can write it like "make $(obj)=<sub-dir>" with a shorthand.)
      This means the current working directory is always the top
      of the output directory.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: NGerhard Sittig <gsi@denx.de>
      9e414032
  28. 06 12月, 2013 1 次提交
    • M
      arm: omap3: Enable clocks for peripherals only if they are used · f33b9bd3
      Michael Trimarchi 提交于
      This patch change the per_clocks_enable() function used in OMAP3
      code to enable peripherals clocks. Only required clock should be
      activated. So if the board use the uart(x) as a console we need
      to activate it. The Board's config should include define to enable
      every subsystem that the board use. For a complete list
      of affected peripherals, registers CM_FCLKEN_PER and CM_ICLKEN_PER
      should be checked.
      Right now the bootloader can enable and disable clocks for:
      uart(x) using CONFIG_SYS_NS16550
      gpio bank (x) using CONFIG_OMAP3_GPIO_X with X = { 2, 3, 4, 5, 6 }
      i2c bus using CONFIG_DRIVER_OMAP34XX_I2C.
      
      Not required gptimer(x) and mcbsp(x) for booting are disabled by default and
      are not supported by any define.
      Their activation need to included in the per_clocks_enable if the
      peripheral is included. Not booting board should enable the peripheral
      clock connected to their driver
      Signed-off-by: NMichael Trimarchi <michael@amarulasolutions.com>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Cc: Tom Rini <trini@ti.com>
      Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
      f33b9bd3
  29. 13 11月, 2013 1 次提交
    • H
      i2c, omap24xx: convert driver to new mutlibus/mutliadapter framework · 6789e84e
      Heiko Schocher 提交于
      - add omap24xx driver to new multibus/multiadpater support
      - adapted all config files, which uses this driver
      
      Tested on the am335x based siemens boards rut, dxr2 and pxm2
      posted here:
      http://patchwork.ozlabs.org/patch/263211/Signed-off-by: NHeiko Schocher <hs@denx.de>
      Tested-by: NTom Rini <trini@ti.com>
      Cc: Lars Poeschel <poeschel@lemonage.de>
      Cc: Steve Sakoman <sakoman@gmail.com>
      Cc: Thomas Weber <weber@corscience.de>
      Cc: Tom Rix <Tom.Rix@windriver.com>
      Cc: Grazvydas Ignotas <notasas@gmail.com>
      Cc: Enric Balletbo i Serra <eballetbo@iseebcn.com>
      Cc: Luca Ceresoli <luca.ceresoli@comelit.it>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Cc: Ilya Yanok <yanok@emcraft.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Nishanth Menon <nm@ti.com>
      Cc: Pali Rohár <pali.rohar@gmail.com>
      Cc: Peter Barada <peter.barada@logicpd.com>
      Cc: Nagendra T S  <nagendra@mistralsolutions.com>
      Cc: Michael Jones <michael.jones@matrix-vision.de>
      Cc: Raphael Assenat <raph@8d.com>
      Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
      Acked-by: NStefano Babic <sbabic@denx.de>
      6789e84e
  30. 01 11月, 2013 1 次提交
  31. 15 10月, 2013 1 次提交
  32. 28 8月, 2013 1 次提交
  33. 15 8月, 2013 1 次提交
    • N
      ARM: omap3: Implement dpll5 (HSUSB clk) workaround for OMAP36xx/AM/DM37xx... · a704a6d6
      Naumann Andreas 提交于
      ARM: omap3: Implement dpll5 (HSUSB clk) workaround for OMAP36xx/AM/DM37xx according to errata sprz318e.
      
      In chapter 'Advisory 2.1 USB Host Clock Drift Causes USB Spec Non-compliance in Certain Configurations' of the TI Errata it is recommended to use certain div/mult values for the DPLL5 clock setup.
      So far u-boot used the old 34xx values, so I added the errata recommended values specificly for 36xx init only.
      Also, the FSEL registers exist no longer, so removed them from init.
      
      Tested this on a AM3703 board with 19.2MHz oscillator, which previously couldnt lock the dpll5 (kernel complained). As a consequence the EHCI USB port wasnt usable in U-Boot and kernel. With this patch, kernel panics disappear and USB working fine in u-boot and kernel.
      Signed-off-by: NAndreas Naumann <anaumann@ultratronik.de>
      [trini: Add extern to <asm/arch-omap3/clock.h>
      Signed-off-by: NTom Rini <trini@ti.com>
      a704a6d6