[U-Boot] [U-Boot, v2, 1/4] ARM: at91: sama5: move the sd/mmc env config to at91-sama5_common.h
Andreas Bießmann
andreas.devel at googlemail.com
Fri Aug 21 15:28:34 CEST 2015
Dear "Wu, Josh",
Josh Wu <Josh.wu at atmel.com> 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 <josh.wu at atmel.com>
>---
>
>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
More information about the U-Boot
mailing list