soc:qcom: add bootinfo support
authorzhaoxp3 <zhaoxp3@motorola.com>
Mon, 6 Aug 2018 04:31:54 +0000 (12:31 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:36:46 +0000 (17:36 +0800)
commitb1384af504c98020cb8e5c3f76c7cf6b58e77e68
treea6f27674102dcb59e83b68ff7cdd6a918a7e85b5
parent9b66639fd126e043a1adadcdaa5d04adb1ae0b3a
soc:qcom: add bootinfo support

The interface would
    1. export /proc/bootinfo to user space, bugreport can use it
    2. annotate boot info to last_kmsg
port the following gerrits
    http://gerrit.mot.com/862769
    http://gerrit.mot.com/848543
    http://gerrit.mot.com/845197
    http://gerrit.mot.com/792195
    http://gerrit.mot.com/782682

Change-Id: Icc0e48f833b119dad73a07cd564e24f169d1ac4d
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1221136
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
drivers/soc/samsung/Kconfig
drivers/soc/samsung/Makefile
drivers/soc/samsung/bootinfo.c [new file with mode: 0644]
include/soc/samsung/bootinfo.h [new file with mode: 0644]