From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Fri, 21 Aug 2015 15:28:34 +0200 Subject: [U-Boot] [U-Boot, v2, 1/4] ARM: at91: sama5: move the sd/mmc env config to at91-sama5_common.h In-Reply-To: <1439982681-782-1-git-send-email-josh.wu@atmel.com> (from Josh Wu on Wed, 19 Aug 2015 19:11:18 +0800) References: <1439982681-782-1-git-send-email-josh.wu@atmel.com> Message-ID: <1440163714-20139-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: >As almost all sama5 sd/mmc env configurations are same, so move them to >at91-sama5_common.h. > >Also define CONFIG_ENV_VARS_UBOOT_CONFIG to have the varaible: $board_name. >Then we can use 'at91-${board_name}.dtb' as the dtb name. > >TODO: since sama5d3xek has different dtb name, we need to some extra >stuff to make it work on sama5d3xek boards. > >Signed-off-by: Josh Wu >--- > >Changes in v2: >- use CONFIG_ENV_VARS_UBOOT_CONFIG instead thanks to Andreas. > > include/configs/at91-sama5_common.h | 12 ++++++++++++ > include/configs/sama5d3_xplained.h | 10 +--------- > include/configs/sama5d3xek.h | 10 +--------- > include/configs/sama5d4_xplained.h | 18 +----------------- > include/configs/sama5d4ek.h | 16 +--------------- > 5 files changed, 16 insertions(+), 50 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann