[U-Boot] [U-Boot, v2, 5/5] arm: at91/spl: atmel_sfr: move saic redirect to separate file

Andreas Bießmann andreas.devel at googlemail.com
Mon Nov 30 22:29:23 CET 2015


Dear Wenyou Yang,

Wenyou Yang <wenyou.yang at atmel.com> 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 <wenyou.yang at atmel.com>
>Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>
>---
>
>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


More information about the U-Boot mailing list