
Dear "Wu, Josh",
Josh Wu Josh.wu@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@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