fw_base: Don't mark fw_platform_init as both global and weak
authorJessica Clarke <jrtc27@jrtc27.com>
Sun, 11 Jul 2021 02:28:19 +0000 (03:28 +0100)
committerAnup Patel <anup@brainfault.org>
Sun, 11 Jul 2021 11:50:42 +0000 (17:20 +0530)
commit7f1be8a624aca4805020588894d96c3617860c89
treee42f6c8f93c6b315ce0e395e9669d73883a21227
parenta76ac4449bf2b67b899ebdb5085834e94987b690
fw_base: Don't mark fw_platform_init as both global and weak

These are mutually exclusive. GNU as and LLVM both let later binding
directives override earlier ones so this works as intended, but LLVM 12
turned this into a warning as there's no good reason to do such a thing
and could be a potential bug. Thus, remove the redundant and incorrect
.globl directive for fw_platform_init.

Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
firmware/fw_base.S