]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: at91: sama5d3xek: use a $dtb_name to load dtb
authorWu, Josh <Josh.wu@atmel.com>
Wed, 19 Aug 2015 11:11:19 +0000 (19:11 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:30:33 +0000 (10:30 +0200)
commit0f7f7dc3f7a9b147b6f515ac85b60c4e6d616e27
treecad01cce65a0882d785c3a6f16ecf1a05b69db9b
parentfa2eee9be62c3436b5391dc2b0ce1698a01012ce
ARM: at91: sama5d3xek: use a $dtb_name to load dtb

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@atmel.com>
board/atmel/sama5d3xek/sama5d3xek.c
include/configs/at91-sama5_common.h
include/configs/sama5d3xek.h