From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Wed, 1 Apr 2015 01:06:49 +0200 Subject: [U-Boot] =?utf-8?q?=5BU-Boot=2C_v2=5D_ARM=3A_at91=3A_sama5=3A_mov?= =?utf-8?q?e_the_common_part_of_configurations_to_at91-sama5=5Fcomm?= =?utf-8?q?on=2Eh?= In-Reply-To: <1427698279-29280-1-git-send-email-josh.wu@atmel.com> from Josh Wu on Mon, 30 Mar 2015 14:51:19 +0800 References: <1427698279-29280-1-git-send-email-josh.wu@atmel.com> Message-ID: <1427843209-16985-1-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Josh Wu, Josh Wu 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 >--- > >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