From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Mon, 30 Nov 2015 22:29:23 +0100 Subject: [U-Boot] [U-Boot, v2, 5/5] arm: at91/spl: atmel_sfr: move saic redirect to separate file In-Reply-To: <1446712673-9079-6-git-send-email-wenyou.yang@atmel.com> (from Wenyou Yang on Thu, 5 Nov 2015 16:37:53 +0800) References: <1446712673-9079-6-git-send-email-wenyou.yang@atmel.com> Message-ID: <1448918963-12530-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 Wenyou Yang, Wenyou Yang writes: >To make saic redirect code sharing with other SoCs, move the >saic redirect code from SAMA5D4 particular file, >mach-at91/armv7/sama5d4_devices.c to a separate file, >mach-at91/atmel_sfr.c > >Move ATMEL_SFR_AICREDIR_KEY definition to sama5d4.h, because each >SoC has its own value. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bie?mann >--- > >Changes in v2: > 1./ split the version 1 [PATCH 2/3] into three patches for > more legible. > > arch/arm/mach-at91/Makefile | 2 +- > arch/arm/mach-at91/armv7/sama5d4_devices.c | 13 ------------- > arch/arm/mach-at91/atmel_sfr.c | 21 +++++++++++++++++++++ > arch/arm/mach-at91/include/mach/sama5_sfr.h | 1 - > arch/arm/mach-at91/include/mach/sama5d4.h | 3 +++ > 5 files changed, 25 insertions(+), 15 deletions(-) > create mode 100644 arch/arm/mach-at91/atmel_sfr.c applied to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann