sunxi: board.c: refactor SPL header checks
So far we have two users which want to look at the SPL header. We will get more in the future. Refactor the existing SPL header checks into a common function, to simplify reusing the code. Now that this is easy, add proper version checks to the DT name parsing. Signed-off-by: NAndre Przywara <andre.przywara@arm.com> Signed-off-by: NIcenowy Zheng <icenowy@aosc.io> Acked-by: NMaxime Ripard <maxime.ripard@bootlin.com> Acked-by: NJagan Teki <jagan@openedev.com>
Showing
想要评论请 注册 或 登录