]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: socfpga: Move firewall code to firewall file
authorLey Foon Tan <ley.foon.tan@intel.com>
Wed, 27 Nov 2019 07:55:15 +0000 (15:55 +0800)
committerMarek Vasut <marex@denx.de>
Tue, 7 Jan 2020 13:38:33 +0000 (14:38 +0100)
commit8b7962a34923d8eaa2459376b12f8cead7f3894a
tree71b51390be7d15cdb1d2c7418c3a8f9c82c10d59
parent2145e611fc9906b8df41aff3c3f6f93aa400e2c0
arm: socfpga: Move firewall code to firewall file

Move firewall related code to new firewall.c, to share
code in Stratix 10 and Agilex.

SDMMC will transfer data to OCRAM in SPL. So, enable privilege for SDMMC
to allow DMA transfer to OCRAM.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
arch/arm/mach-socfpga/Makefile
arch/arm/mach-socfpga/firewall.c [new file with mode: 0644]
arch/arm/mach-socfpga/include/mach/firewall.h [moved from arch/arm/mach-socfpga/include/mach/firewall_s10.h with 94% similarity]
arch/arm/mach-socfpga/spl_s10.c
drivers/ddr/altera/sdram_s10.c