arm: at91/spl: atmel_sfr: move saic redirect to separate file
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 5 Nov 2015 08:37:53 +0000 (16:37 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Mon, 30 Nov 2015 21:27:55 +0000 (22:27 +0100)
commite4677f1ae221ac615f32c993aaf3d2497ad5009d
tree1d00120182c85ca86032e58c245f5cc04dfcdae3
parentb5665bf2467ae7a83db7153bdc6faf520795fd0c
arm: at91/spl: atmel_sfr: move saic redirect to separate file

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 <wenyou.yang@atmel.com>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
arch/arm/mach-at91/Makefile
arch/arm/mach-at91/armv7/sama5d4_devices.c
arch/arm/mach-at91/atmel_sfr.c [new file with mode: 0644]
arch/arm/mach-at91/include/mach/sama5_sfr.h
arch/arm/mach-at91/include/mach/sama5d4.h