
21 Aug
2015
21 Aug
'15
3:28 p.m.
Dear "Wu, Josh",
Josh Wu Josh.wu@atmel.com 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 josh.wu@atmel.com
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