[U-Boot] [U-Boot, v2, 2/4] ARM: at91: sama5d3xek: use a $dtb_name to load dtb

Andreas Bießmann andreas.devel at googlemail.com
Fri Aug 21 15:28:42 CEST 2015


Dear "Wu, Josh",

Josh Wu <Josh.wu at atmel.com> writes:
>Since sama5d3xek boards has different type of dtb blobs, so we need to detect
>the cpu type in runtime.
>
>So we add a new variable $dtb_name. if $dtb_name is not defined, we just use
>	at91-${board_name}.dtb
>
>as the $dtb_name. Otherwise, we will just load the dtb with
>	$dtb_name.
>
>For sama5d3xek, we will detect cpu type and make up $dtb_name in
>runtime.
>
>Signed-off-by: Josh Wu <josh.wu at atmel.com>
>---
>
>Changes in v2:
>- fix bug on tolower loop.
>- use setenv dtb_name instead
>
> board/atmel/sama5d3xek/sama5d3xek.c | 20 ++++++++++++++++++++
> include/configs/at91-sama5_common.h |  5 ++++-
> include/configs/sama5d3xek.h        |  3 +++
> 3 files changed, 27 insertions(+), 1 deletion(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list