1. 12 12月, 2014 1 次提交
    • S
      dm: i2c: tegra: Convert to driver model · b0e6ef46
      Simon Glass 提交于
      This converts all Tegra boards over to use driver model for I2C. The driver
      is adjusted to use driver model and the following obsolete CONFIGs are
      removed:
      
         - CONFIG_SYS_I2C_INIT_BOARD
         - CONFIG_I2C_MULTI_BUS
         - CONFIG_SYS_MAX_I2C_BUS
         - CONFIG_SYS_I2C_SPEED
         - CONFIG_SYS_I2C
      
      This has been tested on:
      - trimslice (no I2C)
      - beaver
      - Jetson-TK1
      
      It has not been tested on Tegra 114 as I don't have that board.
      Acked-by: NHeiko Schocher <hs@denx.de>
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      b0e6ef46
  2. 21 11月, 2014 1 次提交
  3. 24 10月, 2014 1 次提交
  4. 23 10月, 2014 2 次提交
  5. 11 9月, 2014 3 次提交
  6. 31 8月, 2014 1 次提交
  7. 31 7月, 2014 1 次提交
  8. 30 7月, 2014 1 次提交
  9. 21 6月, 2014 1 次提交
  10. 14 5月, 2014 1 次提交
    • S
      ARM: tegra: set CONFIG_SYS_MMC_MAX_DEVICE · f175603f
      Stephen Warren 提交于
      If CONFIG_API is ever to be enabled on Tegra, this define must be set,
      since api/api_storage.c uses it.
      
      A couple of annoyting things about CONFIG_SYS_MMC_MAX_DEVICE
      
      1) It isn't documented in README. The same is true for a lot of similar
         defines used by api_storage.c.
      
      2) It doesn't represent MAX_DEVICE but rather NUM_DEVICES, since the
         valid values are 0..n-1 not 0..n.
      
      However, I this patch does not address those shortcomings.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NTom Warren <twarren@nvidia.com>
      f175603f
  11. 07 3月, 2014 1 次提交
    • M
      kbuild: add CONFIG_ prefix to USE_PRIVATE_LIBGCC · cd2e46cb
      Masahiro Yamada 提交于
      Before this commit, USE_PRIVATE_LIBGCC was defined in
      arch-specific config.mk and referenced in
      arch/$(ARCH)/lib/Makefile.
      
      We are not happy about parsing config.mk again and again.
      We have to keep the same behavior with a different way.
      
      By adding "CONFIG_" prefix, this macro appears
      in include/autoconf.mk, include/spl-autoconf.mk.
      (And treating USE_PRIVATE_LIBGCC as CONFIG macro
      is reasonable enough.)
      
      Tegra SoC family defined USE_PRIVATE_LIBGCC as "yes"
      in arch/arm/cpu/arm720t/tegra*/config.mk,
      whereas did not define it in arch/arm/cpu/armv7/tegra*/config.mk.
      
      It means Tegra enables PRIVATE_LIBGCC only for SPL.
      We can describe the same behavior by adding
      
        #ifdef CONFIG_SPL_BUILD
        # define CONFIG_USE_PRIVATE_LIBGCC
        #endif
      
      to include/configs/tegra-common.h.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Tom Warren <twarren@nvidia.com>
      Cc: Simon Glass <sjg@chromium.org>
      Acked-by: NStephen Warren <swarren@nvidia.com>
      cd2e46cb
  12. 06 3月, 2014 1 次提交
  13. 05 3月, 2014 1 次提交
  14. 05 11月, 2013 2 次提交
  15. 20 8月, 2013 2 次提交
  16. 24 7月, 2013 1 次提交
  17. 16 4月, 2013 1 次提交
  18. 14 4月, 2013 1 次提交
    • A
      ARM: fix CONFIG_SPL_MAX_SIZE semantics · 6ebc3461
      Albert ARIBAUD 提交于
      Remove SPL-related ASSERT() in arch/arm/cpu/u-boot.lds
      as this file is never used for SPL builds.
      
      Rewrite the ASSERT() in arch/arm/cpu/u-boot-spl.lds
      to separately test image (text,data,rodata...) size,
      BSS size, and full footprint each against its own max,
      and make Tegra boards check full footprint.
      
      Also, output section mmutable is not used in SPL builds.
      Remove it.
      
      Finally, update README regarding the (now homogeneous)
      semantics of CONFIG_SPL_[BSS_]MAX_SIZE and add the new
      CONFIG_SPL_MAX_FOOTPRINT macro.
      Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net>
      Reported-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
      6ebc3461
  19. 16 3月, 2013 1 次提交
  20. 15 3月, 2013 3 次提交
  21. 17 1月, 2013 1 次提交
  22. 28 11月, 2012 1 次提交
    • S
      mmc: tegra: use bounce buffer APIs · 19815399
      Stephen Warren 提交于
      Tegra's MMC driver does DMA, and hence needs cache-aligned buffers. In
      some cases (e.g. user load commands) this cannot be guaranteed by callers
      of the MMC APIs. To solve this, modify the Tegra MMC driver to use the
      new bounce_buffer_*() APIs.
      
      Note: Ideally, all U-Boot code will always provide address- and size-
      aligned buffers, so a bounce buffer will only ever be needed for user-
      supplied buffers (e.g. load commands). Ensuring this removes the need
      for performance-sucking bounce buffer cache management and memcpy()s.
      The one known exception at present is the SCR buffer in sd_change_freq(),
      which is only 8 bytes long. Solving this requires enhancing struct
      mmc_data to know the difference between buffer size and transferred data
      size, or forcing all callers of mmc_send_cmd() to have allocated buffers
      using ALLOC_CACHE_ALIGN_BUFFER(), which while true in this case, is not
      enforced in any way at present, and so cannot be assumed by the core MMC
      code.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      Tested-by: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NAndy Fleming <afleming@freescale.com>
      19815399
  23. 20 11月, 2012 2 次提交
  24. 19 11月, 2012 1 次提交
  25. 30 10月, 2012 4 次提交
  26. 16 10月, 2012 3 次提交
  27. 11 9月, 2012 1 次提交