Re: [PATCH 2/8] sunxi: board: Add a helper to get the SPL DT name

2020-09-21 Thread André Przywara
On 03/09/2020 06:07, Samuel Holland wrote: > This moves the validity checking and typecasts all to one place away > from the string comparison logic, and it detangles the compile-time > and runtime control flow. > > The new helper will also be used by U-Boot proper in a future commit. > >

[PATCH 2/8] sunxi: board: Add a helper to get the SPL DT name

2020-09-02 Thread Samuel Holland
This moves the validity checking and typecasts all to one place away from the string comparison logic, and it detangles the compile-time and runtime control flow. The new helper will also be used by U-Boot proper in a future commit. Signed-off-by: Samuel Holland --- board/sunxi/board.c | 26