Skip to content
Snippets Groups Projects
  1. May 06, 2015
  2. Mar 24, 2015
    • 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
  3. Jan 24, 2015
  4. Jan 05, 2015
  5. Dec 08, 2014
  6. Nov 25, 2014
  7. Oct 23, 2014
  8. Sep 24, 2014
  9. Aug 14, 2014
  10. Feb 19, 2014
    • 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
  11. Nov 09, 2013
  12. Nov 01, 2013
  13. Oct 31, 2013
  14. Oct 14, 2013
  15. Sep 19, 2013
  16. Jul 24, 2013
  17. Apr 01, 2013
    • 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
  18. Mar 11, 2013
  19. Nov 14, 2012
  20. Sep 02, 2012
    • 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
  21. Sep 01, 2012
  22. Aug 10, 2012
    • 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
  23. Jul 07, 2012
    • 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
  24. Dec 06, 2011
  25. Nov 16, 2011
    • 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
  26. Nov 11, 2011
  27. Nov 07, 2011
    • 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
  28. Nov 03, 2011
    • Anatolij Gustschin's avatar
      ARM: dreamplug: fix compilation · 0ac16bf3
      Anatolij Gustschin authored
      
      Fix build issues:
      
      mvrtc.c: In function 'rtc_get':
      mvrtc.c:45: warning: implicit declaration of function 'readl'
      mvrtc.c: In function 'rtc_set':
      mvrtc.c:100: warning: implicit declaration of function 'writel'
      dreamplug.c: In function 'board_early_init_f':
      dreamplug.c:43: warning: implicit declaration of function 'kw_config_gpio'
      dreamplug.c: In function 'board_init':
      dreamplug.c:108: warning: implicit declaration of function 'kw_sdram_bar'
      drivers/rtc/librtc.o: In function `rtc_set':
      /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:92: undefined reference to `writel'
      /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:103: undefined reference to `writel'
      drivers/rtc/librtc.o: In function `rtc_reset':
      /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:117: undefined reference to `readl'
      /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:120: undefined reference to `readl'
      drivers/rtc/librtc.o: In function `rtc_get':
      /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:45: undefined reference to `readl'
      /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:48: undefined reference to `readl'
      ...
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      Cc: Jason Cooper <u-boot@lakedaemon.net>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      Acked-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      0ac16bf3
    • Fabio Estevam's avatar
      rtc: Make mc13783-rtc driver generic · 4e8b7544
      Fabio Estevam authored
      
      Rename mc13783-rtc so that it can be used for both MC13783 and MC13892 PMICs.
      
      efikamx board, for example, does use a MC13892 PMIC, but the RTC selection is currently made as:
      
      #define CONFIG_RTC_MC13783
      
      ,which is not very obvious.
      
      Let the MC13783 and MC13892 RTC be selected by:
      
      #define CONFIG_RTC_MC13XXX
      
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Acked-by: default avatarStefano Babic <sbabic@denx.de>
      4e8b7544
    • Wolfgang Denk's avatar
      drivers/rtc/ds1337.c: fix GCC 4.6 build warnings · 88b2533d
      Wolfgang Denk authored
      
      Fix:
      ds1337.c: In function 'rtc_get':
      ds1337.c:88:52: warning: variable 'control' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      88b2533d
  29. Oct 27, 2011
  30. Sep 30, 2011
  31. Aug 04, 2011
Loading