msm: camera: common: Add camera banner
camera_banner contains compilation timestamp, which can be used to find mismatch between ramdump and symbols. CRs-Fixed: 3261129 Change-Id: I021f6f9417b227d07a4424f7522e27c8535b0363 Signed-off-by: Trishansh Bhardwaj <quic_tbhardwa@quicinc.com>
This commit is contained in:

committed by
Camera Software Integration

parent
28ef245c26
commit
58fab0efe0
@@ -60,6 +60,11 @@
|
||||
#include "cam_csid_ppi100.h"
|
||||
#include "camera_main.h"
|
||||
|
||||
#include "cam_generated_h"
|
||||
|
||||
char camera_banner[] = "Camera-Banner: (" CAMERA_COMPILE_BY "@"
|
||||
CAMERA_COMPILE_HOST ") (" CAMERA_COMPILE_TIME ")";
|
||||
|
||||
#ifdef CONFIG_CAM_PRESIL
|
||||
extern int cam_presil_framework_dev_init_from_main(void);
|
||||
extern void cam_presil_framework_dev_exit_from_main(void);
|
||||
@@ -285,6 +290,7 @@ static int camera_init(void)
|
||||
int rc;
|
||||
uint i, j, num_inits;
|
||||
|
||||
CAM_INFO(CAM_UTIL, "%s", camera_banner);
|
||||
rc = camera_verify_submodules();
|
||||
if (rc)
|
||||
goto end_init;
|
||||
|
Reference in New Issue
Block a user