boards/riscv: Refactor the code for coding style. [3/4]

PD#SWPL-68240

Problem:
Refactor the code for coding style

Solution:
Refactor the code for coding style

Verify:
N/A

Change-Id: Id59eb6c2bc7b49c1ed843d8708e283b556e950bf
Signed-off-by: xiaohu.huang <xiaohu.huang@amlogic.com>
57 files changed