[PATCH v2 5/6] riscv: starfive: avoid including common.h