platform: Changes to avoid warnings during compilation
Changes to avoid warnings for enabling Werror flag in LK.
Change-Id: I89725fc79fd0acc4c5d1086959f050bbc6674a36
diff --git a/platform/init.c b/platform/init.c
index 412184e..095f6e2 100644
--- a/platform/init.c
+++ b/platform/init.c
@@ -97,7 +97,7 @@
__WEAK addr_t get_bs_info_addr()
{
- return NULL;
+ return 0;
}
__WEAK uint32_t platform_get_sclk_count(void)
@@ -105,8 +105,9 @@
return 0;
}
-__WEAK void clock_config_cdc(uint8_t slot)
+__WEAK void clock_config_cdc(uint32_t slot)
{
+
}
__WEAK int get_target_boot_params(const char *cmdline, const char *part,