
Dear Josh Wu,
Josh Wu Josh.wu@atmel.com writes:
Create a new configuration file: at91-sama5_common.h. Which includes the configurations that reused by all SAMA5 chips.
at91-sama5_common.h includes:
- hw macros (clock, text_base and etc.)
- default commands.
- BOOTARGS
- U-Boot common configs.
NOTE: NOR flash definition should be put before including the common header.
For sama5d3-xplained:
- add CMD_SETEXPR
For sama5d3xek:
- add CMD_SETEXPR
- change CONFIG_SYS_MALLOC_LEN to (4*1024*1024)
Signed-off-by: Josh Wu josh.wu@atmel.com
Changes in v2:
- serperate the patch alone and rebase on top of latest u-boot.
- add the missing CMD_FLASH for sama5d3_xplained.
- remove unrelated changes.
- refined format of at91-sama5_common.h.
include/configs/at91-sama5_common.h | 87 +++++++++++++++++++++++++++++++++++++ include/configs/sama5d3_xplained.h | 77 ++------------------------------ include/configs/sama5d3xek.h | 82 +++------------------------------- include/configs/sama5d4_xplained.h | 76 ++------------------------------ include/configs/sama5d4ek.h | 78 ++------------------------------- 5 files changed, 102 insertions(+), 298 deletions(-) create mode 100644 include/configs/at91-sama5_common.h
applied to u-boot-atmel/master, thanks!
Best regards, Andreas Bießmann