aboutsummaryrefslogtreecommitdiff
path: root/product/synquacer/module/synquacer_rom/src/mod_synquacer_rom.c
diff options
context:
space:
mode:
Diffstat (limited to 'product/synquacer/module/synquacer_rom/src/mod_synquacer_rom.c')
-rw-r--r--product/synquacer/module/synquacer_rom/src/mod_synquacer_rom.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/product/synquacer/module/synquacer_rom/src/mod_synquacer_rom.c b/product/synquacer/module/synquacer_rom/src/mod_synquacer_rom.c
index 48104288..17e94ad4 100644
--- a/product/synquacer/module/synquacer_rom/src/mod_synquacer_rom.c
+++ b/product/synquacer/module/synquacer_rom/src/mod_synquacer_rom.c
@@ -22,7 +22,6 @@
void synquacer_system_init(void);
static const struct synquacer_rom_config *rom_config;
-static struct mod_log_api *log_api;
enum rom_event { ROM_EVENT_RUN, ROM_EVENT_COUNT };
@@ -66,25 +65,6 @@ static int synquacer_rom_init(
return FWK_SUCCESS;
}
-static int synquacer_rom_bind(fwk_id_t id, unsigned int round)
-{
- int status;
-
- /* Use second round only (round numbering is zero-indexed) */
- if (round == 1) {
- /* Bind to the log component */
- status = fwk_module_bind(
- FWK_ID_MODULE(FWK_MODULE_IDX_LOG),
- FWK_ID_API(FWK_MODULE_IDX_LOG, 0),
- &log_api);
-
- if (status != FWK_SUCCESS)
- return FWK_E_PANIC;
- }
-
- return FWK_SUCCESS;
-}
-
static int synquacer_rom_start(fwk_id_t id)
{
int status;
@@ -103,7 +83,7 @@ static int synquacer_rom_process_event(
const struct fwk_event *event,
struct fwk_event *resp)
{
- FWK_LOG_INFO(log_api, "[scp_romfw] Launch scp_ramfw\n");
+ FWK_LOG_INFO("[scp_romfw] Launch scp_ramfw");
if (rom_config->load_ram_size != 0) {
memcpy(
@@ -123,7 +103,6 @@ const struct fwk_module module_synquacer_rom = {
.type = FWK_MODULE_TYPE_SERVICE,
.event_count = ROM_EVENT_COUNT,
.init = synquacer_rom_init,
- .bind = synquacer_rom_bind,
.start = synquacer_rom_start,
.process_event = synquacer_rom_process_event,
};