|
@@ -63,6 +63,11 @@
|
|
|
#include "cam_csid_ppi100.h"
|
|
|
#include "camera_main.h"
|
|
|
|
|
|
+#ifdef CONFIG_CAM_PRESIL
|
|
|
+extern int cam_presil_framework_dev_init_from_main(void);
|
|
|
+extern void cam_presil_framework_dev_exit_from_main(void);
|
|
|
+#endif
|
|
|
+
|
|
|
struct camera_submodule_component {
|
|
|
int (*init)(void);
|
|
|
void (*exit)(void);
|
|
@@ -171,6 +176,12 @@ static const struct camera_submodule_component camera_custom[] = {
|
|
|
#endif
|
|
|
};
|
|
|
|
|
|
+static const struct camera_submodule_component camera_presil[] = {
|
|
|
+#ifdef CONFIG_CAM_PRESIL
|
|
|
+ {&cam_presil_framework_dev_init_from_main, &cam_presil_framework_dev_exit_from_main},
|
|
|
+#endif
|
|
|
+};
|
|
|
+
|
|
|
static const struct camera_submodule submodule_table[] = {
|
|
|
{
|
|
|
.name = "Camera BASE",
|
|
@@ -226,6 +237,11 @@ static const struct camera_submodule submodule_table[] = {
|
|
|
.name = "Camera CUSTOM",
|
|
|
.num_component = ARRAY_SIZE(camera_custom),
|
|
|
.component = camera_custom,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ .name = "Camera Presil",
|
|
|
+ .num_component = ARRAY_SIZE(camera_presil),
|
|
|
+ .component = camera_presil,
|
|
|
}
|
|
|
};
|
|
|
|