board_f: Make clear_bss generic
authorOvidiu Panait <ovpanait@gmail.com>
Wed, 5 Feb 2020 06:54:42 +0000 (08:54 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 13 Feb 2020 15:10:50 +0000 (10:10 -0500)
commitfbf9c154a6d9c600b355076c33f60781ddbd34f2
treede26257b44f6ba2ba3bf27d2e43d144446e7b379
parent215df01de40bfefc32c86c73e4acbca1bbb74329
board_f: Make clear_bss generic

clear_bss is already used by 3 arches (x86, arc, xtensa), so make it generic
and provide a weak nop stub for it. This also removes arch-specific ifdef
duplications around clear_bss.

Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
common/board_f.c