Skip to content
Snippets Groups Projects
  1. Dec 09, 2014
  2. Dec 08, 2014
  3. Dec 07, 2014
  4. Dec 05, 2014
    • Stefan Roese's avatar
      arm: am33xx: Handle NAND+I2C boot-device the same way as NAND · e49631af
      Stefan Roese authored
      
      Re-map NAND&I2C boot-device to the "normal" NAND boot-device.
      Otherwise the SPL boot IF can't handle this device correctly.
      Somehow booting with Hynix 4GBit NAND H27U4G8 on Siemens
      Draco leads to this boot-device passed to SPL from the BootROM.
      
      With this change, Draco boots just fine into main U-Boot.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Roger Meier <r.meier@siemens.com>
      Cc: Samuel Egli <samuel.egli@siemens.com>
      e49631af
  5. Dec 04, 2014
  6. Nov 27, 2014
  7. Nov 25, 2014
  8. Nov 24, 2014
  9. Nov 23, 2014
  10. Nov 21, 2014
  11. Nov 20, 2014
    • Masahiro Yamada's avatar
      include: move various macros to include/linux/kernel.h · cba1da49
      Masahiro Yamada authored
      
      U-Boot has imported various utility macros from Linux
      scattering them to various places without consistency.
      
      In include/common.h are min, max, min3, max3, ARRAY_SIZE, ALIGN,
      container_of, DIV_ROUND_UP, etc.
      In include/linux/compat.h are min_t, max_t, round_up, round_down,
      etc.
      We also have duplicated defines of min_t in some *.c files.
      
      Moreover, we are suffering from too cluttered include/common.h.
      
      This commit moves various macros that originate in
      include/linux/kernel.h of Linux to their original position.
      
      Note:
      This commit simply moves the macros; the macros roundup,
      min, max, min2, max3, ARRAY_SIZE are different
      from those of Linux at this point.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      cba1da49
    • Masahiro Yamada's avatar
      replace DIV_ROUND with DIV_ROUND_CLOSEST · 4515992f
      Masahiro Yamada authored
      
      The Linux-compatible macro DIV_ROUND_CLOSEST is a bit more flexible
      and safer than DIV_ROUND.
      
      For example,
        foo = DIV_ROUND_CLOSEST(x, y++)
      works expectedly, but
        foo = DIV_ROUND(x, y++)
      does not. (y is incremented twice.)
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      4515992f
    • Fabio Estevam's avatar
      imx: consolidate set_chipselect_size function · 32c81ea6
      Fabio Estevam authored and Stefano Babic's avatar Stefano Babic committed
      
      Move MX5 specific set_chipselect_size function into generic i.MX part,
      such that MX6 based boards are able to use this function as well.
      
      While doing this the iomuxc gpr member needed to be consolidated between
      MX5 and MX6.
      
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      32c81ea6
  12. Nov 17, 2014
Loading