11 Oct, 2016
1 commit
-
For 64-bit x86, __I386__ should perhaps not be defined. It is not clear from
the definition, but let's use CONFIG_X86 to be sure.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
24 Sep, 2016
2 commits
-
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have
the same content. (both just wrap )Replace all include directives for with .
Signed-off-by: Masahiro Yamada
[trini: Fixup include/clk.]
Signed-off-by: Tom Rini -
Remove unneeded variables and assignments.
Signed-off-by: Masahiro Yamada
15 Jul, 2016
1 commit
-
This code generates lots of checkpatch errors. Fix them.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
05 Nov, 2015
1 commit
-
The code is from Adrian Cox, and is patterned after similar
support in Linux (drivers/rtc/rtc-ds1307.c:1121-1135). This
chip is used on the Cyrus board from Varisys.Signed-off-by: Andy Fleming
Reviewed-by: York Sun
21 Oct, 2015
3 commits
-
The current check is incorrect and will fail when any non-zero byte is read.
Fix it.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng -
At present this driver uses bind() to set up the device. The bind() method
should not touch the hardware, so move the init code to probe().Signed-off-by: Simon Glass
-
Add a comment to make it clear to which block the #endif relates.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
02 Sep, 2015
1 commit
-
RTC devices can generate 32KHz output if for
-DS3232 device, EN32KHz bit and BB32KHz bit are set
-DS3231 device, EN32KHz bit is set, BB32KHz bit is don't carePatch adds rtc_enable_32khz_output() which when called
will enable 32KHz output on 32KHz pinSigned-off-by: Priyanka Jain
Reviewed-by: York Sun
13 Aug, 2015
1 commit
-
The menuconfig for drivers are getting more and more cluttered
and unreadable because too many entries are displayed in a single
flat menu. Use hierarchic menu for each category.Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
[trini: Update to apply again in a few places, drop USB hunk]
Signed-off-by: Tom Rini
15 Jul, 2015
1 commit
-
Add driver model support to the mc146818 rtc driver. Also clean up
the driver a little bit for coding convention issues.Signed-off-by: Bin Meng
Acked-by: Simon Glass
06 May, 2015
7 commits
-
Enable real-time-clock support in sandbox.
Signed-off-by: Simon Glass
-
Add a driver which communicates with the sandbox I2C emulation RTC device
and permits it to be used in U-Boot. This driver is very simple - it just
reads and writes selected I2C registers in the device.Signed-off-by: Simon Glass
-
Add a sandbox I2C emulation device which emulates a real-time clock. The
clock works off an offset from the current system time, and supports setting
and getting the clock, as well as access to byte-width regisers in the RTC.
It does not support changing the system time.This device can be used for testing the 'date' command on sandbox, as well
as the RTC uclass.Signed-off-by: Simon Glass
-
Add a uclass for real-time clocks which support getting the current time,
setting it and resetting the chip to a known-working state. Some RTCs have
additional registers which can be used to store settings, so also provide
an interface to these.Signed-off-by: Simon Glass
-
Most callers unpack the structure and pass each member. It seems better to
pass the whole structure instead, as with the C library. Also add an rtc_
prefix.Signed-off-by: Simon Glass
Acked-by: Heiko Schocher -
Rename this function so that it is clear that it is provided by the RTC.
Also return an error when it cannot function as expected. This is unlikely
to occur since it works for dates since 1752 and many RTCs do not support
such old dates. Still it is better to be accurate.Signed-off-by: Simon Glass
Acked-by: Heiko Schocher -
Change this function name to something more descriptive. Also return a
failure code if it cannot calculate a correct value.Signed-off-by: Simon Glass
Acked-by: Heiko Schocher
24 Mar, 2015
1 commit
-
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: Rob Herring
Cc: Albert Aribaud
Cc: Stefano Babic
Cc: Minkyu Kang
Cc: Marek Vasut
Cc: Tom Warren
Cc: Michal Simek
Cc: Macpaul Lin
Cc: Wolfgang Denk
Cc: York Sun
Cc: Stefan Roese
Cc: Nobuhiro Iwamatsu
Cc: Simon Glass
Cc: Philippe Reynes
Cc: Eric Jarrige
Cc: "David Müller"
Cc: Phil Edworthy
Cc: Robert Baldyga
Cc: Torsten Koschorrek
Cc: Anatolij Gustschin
Reviewed-by: Linus Walleij
Reviewed-by: Łukasz Majewski
24 Jan, 2015
1 commit
-
On x86 we use CMOS RAM to read and write some settings. Add basic support
for this, including access to registers 128-255.Signed-off-by: Simon Glass
06 Jan, 2015
1 commit
-
These boards are still non-generic boards.
drivers/rtc/ds12887.c should also be removed because it can not
be built without CONFIG_ATC.Signed-off-by: Masahiro Yamada
Cc: Wolfgang Denk
08 Dec, 2014
1 commit
-
Including is enough for general use.
Signed-off-by: Masahiro Yamada
25 Nov, 2014
1 commit
-
Provide a function to set up the RTC ready for use.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
23 Oct, 2014
1 commit
-
This move makes is possible to use this header not only from kirkwood
platforms but from all Marvell mvebu platforms.Signed-off-by: Stefan Roese
Tested-by: Luka Perkov
Acked-by: Prafulla Wadaskar
25 Sep, 2014
1 commit
-
This would be useful to start moving various config options.
Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
Tested-by: Simon Glass
14 Aug, 2014
1 commit
-
Signed-off-by: Markus Niebel
20 Feb, 2014
1 commit
-
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 objWe 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: Masahiro Yamada
Tested-by: Gerhard Sittig
11 Nov, 2013
1 commit
10 Nov, 2013
2 commits
-
Conflicts:
arch/arm/cpu/arm926ejs/mxs/Makefile
board/compulab/cm_t35/Makefile
board/corscience/tricorder/Makefile
board/ppcag/bg0900/Makefile
drivers/bootcount/Makefile
include/configs/omap4_common.h
include/configs/pdnb3.hMakefile conflicts are due to additions/removals of
object files on the ARM branch vs KBuild introduction
on the main branch. Resolution consists in adjusting
the list of object files in the main branch version.
This also applies to two files which are not listed
as conflicting but had to be modified:board/compulab/common/Makefile
board/udoo/Makefileinclude/configs/omap4_common.h conflicts are due to
the OMAP4 conversion to ti_armv7_common.h on the ARM
side, and CONFIG_SYS_HZ removal on the main side.
Resolution is to convert as this icludes removal of
CONFIG_SYS_HZ.include/configs/pdnb3.h is due to a removal on ARM side.
Trivial resolution is to remove the file.Note: 'git show' will also list two files just because
they are new:include/configs/am335x_igep0033.h
include/configs/omap3_igep00x0.h -
This is actually required in order for a Linux kernel to boot
successfully on a physical Malta board. Without enabling the RTC, a
Malta Linux kernel will get stuck in its estimate_frequencies function
on boot.Signed-off-by: Paul Burton
02 Nov, 2013
2 commits
-
Create a common header file for the RTC IP block that is shared between
davinci and am33xx.Signed-off-by: Tom Rini
-
We shouldn't rely on a define to hide this cast for us.
Signed-off-by: Tom Rini
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
15 Oct, 2013
2 commits
-
Signed-off-by: Wolfgang Denk
[trini: Drop changes for PEP 4 following python tools]
Signed-off-by: Tom Rini -
Signed-off-by: Wolfgang Denk
19 Sep, 2013
1 commit
-
Since commit 5dc5f36 removed B2 board support,
there are no boards enabling s3c44b0_rtc.Signed-off-by: Masahiro Yamada
Cc: Wolfgang Denk
Cc: Andrea Scian
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
02 Apr, 2013
1 commit
-
'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: York Sun
12 Mar, 2013
1 commit
-
These boards seem to be unmaintained for quite some time. So lets
remove support for them completely. This also cleans up some
common drivers/files.Signed-off-by: Stefan Roese
Cc: Guillaume Alexandre
Acked-by: Wolfgang Denk
14 Nov, 2012
1 commit
-
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 devicesSigned-off-by: Lukasz Majewski
Signed-off-by: Kyungmin Park
Cc: Stefano Babic