From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Fri, 21 Aug 2015 15:28:42 +0200 Subject: [U-Boot] [U-Boot, v2, 2/4] ARM: at91: sama5d3xek: use a $dtb_name to load dtb In-Reply-To: <1439982681-782-2-git-send-email-josh.wu@atmel.com> (from Josh Wu on Wed, 19 Aug 2015 19:11:19 +0800) References: <1439982681-782-2-git-send-email-josh.wu@atmel.com> Message-ID: <1440163722-20216-1-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear "Wu, Josh", Josh Wu 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 >--- > >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