diff options
author | Rahul Tanwar <rahul.tanwar@linux.intel.com> | 2019-10-10 17:28:56 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-11-12 15:46:53 +0100 |
commit | c311ed6183f4fd137bb8451ef77f4011c225ddaf (patch) | |
tree | b4a284a48faa6d24db59ede763a6814e1a20f699 /arch/x86/boot/Makefile | |
parent | 6a181e333954a26f46596b36f82abd14743570fd (diff) | |
download | linux-stable-c311ed6183f4fd137bb8451ef77f4011c225ddaf.tar.gz linux-stable-c311ed6183f4fd137bb8451ef77f4011c225ddaf.tar.bz2 linux-stable-c311ed6183f4fd137bb8451ef77f4011c225ddaf.zip |
x86/init: Allow DT configured systems to disable RTC at boot time
Systems which do not support RTC run into boot problems as the kernel
assumes the availability of the RTC by default.
On device tree configured systems the availability of the RTC can be
detected by querying the corresponding device tree node.
Implement a wallclock init function to query the device tree and disable
RTC if the RTC is marked as not available in the corresponding node.
[ tglx: Rewrote changelog and comments. Added proper __init(const)
annotations. ]
Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Rahul Tanwar <rahul.tanwar@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/b84d9152ce0c1c09896ff4987e691a0715cb02df.1570693058.git.rahul.tanwar@linux.intel.com
Diffstat (limited to 'arch/x86/boot/Makefile')
0 files changed, 0 insertions, 0 deletions