diff options
author | Hanna Hawa <hannah@marvell.com> | 2018-03-07 17:16:10 +0200 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2018-03-18 11:04:27 +0200 |
commit | 62afdfe920126563b3b708bd6703942788789e73 (patch) | |
tree | a944848614e2d3577523513b7f85d292a59708c8 /drivers | |
parent | 9d1f1e9d9d9a9904df4ac3227319c3ee4c268807 (diff) |
ap806: bl31: change ap806_generic_timer_init to be static
Change-Id: Iaea76334e9f7defa241aaeec1db409429d0848fe
Signed-off-by: Hanna Hawa <hannah@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/51492
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/marvell/mochi/apn806_setup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/marvell/mochi/apn806_setup.c b/drivers/marvell/mochi/apn806_setup.c index 443fce69..64b304e5 100644 --- a/drivers/marvell/mochi/apn806_setup.c +++ b/drivers/marvell/mochi/apn806_setup.c @@ -126,8 +126,8 @@ void setup_smmu(void) mmio_write_32(SMMU_sACR, reg); } - -void ap806_generic_timer_init(void) +#if PALLADIUM +static void ap806_generic_timer_init(void) { uint32_t gtc_cntcr = mmio_read_32(MVEBU_MSS_GTCR_REG); @@ -137,6 +137,7 @@ void ap806_generic_timer_init(void) mmio_write_32(MVEBU_MSS_GTCR_REG, gtc_cntcr); } } +#endif static void apn806_errata_wa_init(void) { |