ARM: at91: sama5: move the sd/mmc env config to at91-sama5_common.h
authorWu, Josh <Josh.wu@atmel.com>
Wed, 19 Aug 2015 11:11:18 +0000 (19:11 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Fri, 21 Aug 2015 13:47:04 +0000 (15:47 +0200)
commit372ca03fcd3cc777677d683336e9965c02fc42f2
treeb018187bc67bafa1136a7c1c85a61b186d67897f
parentbfc37f3cb8adf48297bed1088d42df5d119ec12d
ARM: at91: sama5: move the sd/mmc env config to at91-sama5_common.h

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>
include/configs/at91-sama5_common.h
include/configs/sama5d3_xplained.h
include/configs/sama5d3xek.h
include/configs/sama5d4_xplained.h
include/configs/sama5d4ek.h