aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/tools/build.c
diff options
context:
space:
mode:
authorRahul Tanwar <rahul.tanwar@linux.intel.com>2019-10-10 17:28:56 +0800
committerThomas Gleixner <tglx@linutronix.de>2019-11-12 15:46:53 +0100
commitc311ed6183f4fd137bb8451ef77f4011c225ddaf (patch)
treeb4a284a48faa6d24db59ede763a6814e1a20f699 /arch/x86/boot/tools/build.c
parentx86/realmode: Explicitly set entry point via ENTRY in linker script (diff)
downloadlinux-dev-c311ed6183f4fd137bb8451ef77f4011c225ddaf.tar.xz
linux-dev-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/tools/build.c')
0 files changed, 0 insertions, 0 deletions