1. 15 Jul, 2015 1 commit
  2. 06 May, 2015 7 commits
  3. 24 Mar, 2015 1 commit
    • Rob Herring's avatar
      remove unnecessary version.h includes · 7682a998
      Rob Herring authored
      Various files are needlessly rebuilt every time due to the version and
      build time changing. As version.h is not actually needed, remove the
      include.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Tom Warren <twarren@nvidia.com>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Macpaul Lin <macpaul@andestech.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: York Sun <yorksun@freescale.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Philippe Reynes <tremyfr@yahoo.fr>
      Cc: Eric Jarrige <eric.jarrige@armadeus.org>
      Cc: "David Müller" <d.mueller@elsoft.ch>
      Cc: Phil Edworthy <phil.edworthy@renesas.com>
      Cc: Robert Baldyga <r.baldyga@samsung.com>
      Cc: Torsten Koschorrek <koschorrek@synertronixx.de>
      Cc: Anatolij Gustschin <agust@denx.de>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarŁukasz Majewski <l.majewski@samsung.com>
      7682a998
  4. 24 Jan, 2015 1 commit
  5. 05 Jan, 2015 1 commit
  6. 08 Dec, 2014 1 commit
  7. 25 Nov, 2014 1 commit
  8. 23 Oct, 2014 1 commit
  9. 24 Sep, 2014 1 commit
  10. 14 Aug, 2014 1 commit
  11. 19 Feb, 2014 1 commit
    • Masahiro Yamada's avatar
      kbuild: use Linux Kernel build scripts · 6825a95b
      Masahiro Yamada authored
      Now we are ready to switch over to real Kbuild.
      
      This commit disables temporary scripts:
        scripts/{Makefile.build.tmp, Makefile.host.tmp}
      and enables real Kbuild scripts:
        scripts/{Makefile.build,Makefile.host,Makefile.lib}.
      
      This switch is triggered by the line in scripts/Kbuild.include
        -build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
        +build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj
      
      We need to adjust some build scripts for U-Boot.
      But smaller amount of modification is preferable.
      
      Additionally, we need to fix compiler flags which are
      locally added or removed.
      
      In Kbuild, it is not allowed to change CFLAGS locally.
      Instead, ccflags-y, asflags-y, cppflags-y,
      CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
      are prepared for that purpose.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: default avatarGerhard Sittig <gsi@denx.de>
      6825a95b
  12. 09 Nov, 2013 1 commit
  13. 01 Nov, 2013 2 commits
  14. 31 Oct, 2013 1 commit
  15. 14 Oct, 2013 2 commits
  16. 19 Sep, 2013 1 commit
  17. 24 Jul, 2013 1 commit
  18. 01 Apr, 2013 1 commit
    • York Sun's avatar
      Consolidate bool type · 472d5460
      York Sun authored
      'bool' is defined in random places. This patch consolidates them into a
      single header file include/linux/types.h, using stdbool.h introduced in C99.
      
      All other #define, typedef and enum are removed. They are all consistent with
      true = 1, false = 0.
      
      Replace FALSE, False with false. Replace TRUE, True with true.
      Skip *.py, *.php, lib/* files.
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      472d5460
  19. 11 Mar, 2013 1 commit
  20. 14 Nov, 2012 1 commit
    • Łukasz Majewski's avatar
      pmic: Extend PMIC framework to support multiple instances of PMIC devices · c7336815
      Łukasz Majewski authored
      The PMIC framework has been extended to support multiple instances of
      the variety of devices responsible for power management.
      This change allows supporting of e.g. fuel gauge, charger, MUIC (Micro USB
      Interface Circuit).
      Power related includes have been moved to ./include/power directory.
      This is a first of a series of patches - in the future "pmic" will be
      replaced with "power".
      
      Two important issues:
      1. The PMIC needs to be initialized just after malloc is configured
      2. It uses list to hold information about available PMIC devices
      Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Cc: Stefano Babic <sbabic@denx.de>
      c7336815
  21. 02 Sep, 2012 1 commit
    • Benoît Thébaudeau's avatar
      rtc: pcf8563: Make century compatible with Linux · df930e9b
      Benoît Thébaudeau authored
      This driver uses the century bit of this RTC in the opposite way Linux does.
      From Linux's rtc-pcf8563.c:
      	/*
      	 * The meaning of MO_C bit varies by the chip type.
      	 * From PCF8563 datasheet: this bit is toggled when the years
      	 * register overflows from 99 to 00
      	 *   0 indicates the century is 20xx
      	 *   1 indicates the century is 19xx
      	 * From RTC8564 datasheet: this bit indicates change of
      	 * century. When the year digit data overflows from 99 to 00,
      	 * this bit is set. By presetting it to 0 while still in the
      	 * 20th century, it will be set in year 2000, ...
      	 * There seems no reliable way to know how the system use this
      	 * bit.  So let's do it heuristically, assuming we are live in
      	 * 1970...2069.
      	 */
      
      As U-Boot's PCF8563 driver does not say it is supposed to support the RTC8564,
      make this driver compatible with Linux's by giving the opposite meaning to the
      century bit.
      Signed-off-by: default avatarBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
      Cc: Wolfgang Denk <wd@denx.de>
      df930e9b
  22. 01 Sep, 2012 4 commits
  23. 10 Aug, 2012 1 commit
    • Kenth Eriksson's avatar
      Add support for DS1388. · 8fde2f3a
      Kenth Eriksson authored
      Support for DS1388 is added by extending the DS1337 driver. DS1388 is
      similar to DS1337. The time registers are offset by 1 (due to support
      for hundreds of seconds), and there is no century bit.
      The configuration and trickle charge registers are also different.
      Tested on hardware with Freescale P2010 and DS1388.
      Signed-off-by: default avatarKenth Eriksson <kenth.eriksson@transmode.com>
      8fde2f3a
  24. 07 Jul, 2012 1 commit
    • Stefan Roese's avatar
      rtc/m41t62: Add support for M41T82 with HT (Halt Update) · 038f3c54
      Stefan Roese authored
      Add support for the M41T82 RTC to the m41t62 driver. The only
      difference that needs to be handled by this driver, is to
      clear the HT (Halt Update) bit upon reset. This bit is not
      used on the M41T62, so its save to clear this bit always.
      
      The M41T82 support will be used by the X600 (SPEAr600)
      board support.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      038f3c54
  25. 06 Dec, 2011 1 commit
  26. 16 Nov, 2011 1 commit
    • Anatolij Gustschin's avatar
      drivers/rtc/s3c24x0_rtc.c: fix GCC 4.6 warnings · f45e91c4
      Anatolij Gustschin authored
      Fix:
      s3c24x0_rtc.c: In function 'rtc_get':
      s3c24x0_rtc.c:67:53: warning: variable 'a_armed' set but not used
      s3c24x0_rtc.c:67:45: warning: variable 'a_year' set but not used
      s3c24x0_rtc.c:67:38: warning: variable 'a_mon' set but not used
      s3c24x0_rtc.c:67:30: warning: variable 'a_date' set but not used
      s3c24x0_rtc.c:67:22: warning: variable 'a_hour' set but not used
      s3c24x0_rtc.c:67:15: warning: variable 'a_min' set but not used
      s3c24x0_rtc.c:67:8: warning: variable 'a_sec' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      f45e91c4
  27. 11 Nov, 2011 1 commit
  28. 07 Nov, 2011 2 commits
    • Wolfgang Denk's avatar
      drivers/rtc/rv3029.c: fix GCC 4.6 build warnings · b633741b
      Wolfgang Denk authored
      Fix:
      rv3029.c: In function 'rtc_set':
      rv3029.c:98:6: warning: variable 'ret' set but not used
      [-Wunused-but-set-variable]
      rv3029.c: In function 'set_eere_bit':
      rv3029.c:131:6: warning: variable 'ret' set but not used
      [-Wunused-but-set-variable]
      rv3029.c: In function 'wait_eebusy':
      rv3029.c:149:9: warning: variable 'ret' set but not used
      [-Wunused-but-set-variable]
      rv3029.c: In function 'rtc_reset':
      rv3029.c:165:6: warning: variable 'ret' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      b633741b
    • Wolfgang Denk's avatar
      drivers/rtc/ds3231.c: fix GCC 4.6 build warnings · 397b40ca
      Wolfgang Denk authored
      Fix:
      ds3231.c: In function 'rtc_get':
      ds3231.c:90:52: warning: variable 'control' set but not used
      [-Wunused-but-set-variable]
      
      Fix is done by switching to standard debug() instead of custom macro.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      397b40ca