Skip to content

ARM: socfpga: Add minimal support for Arria10

dinguyen at opensource.altera.com u-boot 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest9 patches 0 repliesNew
  2. v39 patches 0 repliesSuperseded
  3. v2 posting 2/29 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/22 patches0 repliesSuperseded
v110 patches0 repliesSuperseded

Changes in v4 from the cover letter

- s/CONFIG_SOCFPGA_GEN5/CONFIG_TARGET_SOCFPGA_GEN5
- rename mod_reset(s) in the gen5 reset manager to match a10
- clean up of #if-else throughout misc.c
- reorder CONFIG_TARGET_SOCFPGA_ARRIA10
- add SYSMGR_SDMMC_DRVSEL_SHIFT
- s/SYSMGR_SDMMC_SMPSEL_SHIFT/SYSMGR_SDMMC_SMPLSEL_SHIFT

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9arm: socfpga: introduce TARGET_SOCFPGA_GEN5 config propertyarch/arm/mach-socfpga/Kconfig+5 -01 reply
2/9arm: socfpga: arria10: add system manager definesarch/arm/mach-socfpga/include/mach/system_manager.h+122 -01 reply
2/9arm: socfpga: arria10: add system manager defines+0 -01 reply
3/9arm: socfpga: arria10: add reset manager for Arria10arch/arm/mach-socfpga/include/mach/reset_manager.h arch/arm/mach-socfpga/reset_manager.c+97 -102 replies
4/9arm: socfpga: arria10: add misc functions for Arria10arch/arm/mach-socfpga/misc.c+51 -01 reply
4/9arm: socfpga: arria10: add misc functions for Arria10+0 -00 replies
5/9arm: socfpga: arria10: add socfpga_arria10_socdk configinclude/configs/socfpga_arria10_socdk.h+94 -01 reply
6/9arm: socfpga: arria10: add socfpga_arria10_defconfigconfigs/socfpga_arria10_defconfig+16 -01 reply
7/9arm: socfpga: arria10: add config option build for arria10arch/arm/Kconfig arch/arm/mach-socfpga/Kconfig+12 -20 replies
8/9arm: socfpga: remove building scan managerarch/arm/mach-socfpga/Makefile+3 -21 reply
9/9arm: socfpga: fix up a questionable macro for SDMMCarch/arm/mach-socfpga/include/mach/system_manager.h drivers/mmc/socfpga_dw_mmc.c+10 -51 reply

Reviews trailers per patch

3 of 11 patches have a Reviewed-by or Acked-by.

PatchMarek Vasut
1/9
2/9
2/9
3/9
4/9
4/9
5/9A-b
6/9A-b
7/9
8/9A-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [U-Boot] [PATCHv4 0/9] ARM: socfpga: Add minimal support for Arria10

From: Dinh Nguyen <[email protected]>

Hi,

This is v4 of the patch series that adds minimal support for Altera's Arria10 platform.

v4:
- s/CONFIG_SOCFPGA_GEN5/CONFIG_TARGET_SOCFPGA_GEN5
- rename mod_reset(s) in the gen5 reset manager to match a10
- clean up of #if-else throughout misc.c
- reorder CONFIG_TARGET_SOCFPGA_ARRIA10
- add SYSMGR_SDMMC_DRVSEL_SHIFT
- s/SYSMGR_SDMMC_SMPSEL_SHIFT/SYSMGR_SDMMC_SMPLSEL_SHIFT

v3:
- Add CONFIG_SOCFPGA_GEN5 for building for Arria5 and Cyclone5
- Clean up socfpga_arria10_socdk
- Add patch to remove the macro SYSMGR_SDMMC_CTRL_SET
- Move system_manager_a10.h into system_manager.h
- Rebase to u-boot-socfpga/master

v2:
- Removes the need for a separate /mach-socfpga/arria10 directory
- Tries to re-use alot of the Arria5/Cyclone5 code
- Removes the usage of unions bitfields in the SDRAM defines

v1:
The series builds for
the Altera Arria10 SoCDK, but is not entirely functional on the hardware yet. This series really just add the defines, build and Kconfig layout for Arria10.

There are few TODO after this series:
- Add DTS file for the devkit
- Add clock manager
- The Arria10 Pin Mux requires the FPGA to get programmed before the SDRAM controller can be usable. So another patch is needed to make use of the fpga manager to program the FPGA within the limited size of the OCRAM.

Thanks,

Dinh Nguyen (9):
arm: socfpga: introduce TARGET_SOCFPGA_GEN5 config property
arm: socfpga: arria10: add system manager defines
arm: socfpga: arria10: add reset manager for Arria10
arm: socfpga: arria10: add misc functions for Arria10
arm: socfpga: arria10: add socfpga_arria10_socdk config
arm: socfpga: arria10: add socfpga_arria10_defconfig
arm: socfpga: arria10: add config option build for arria10
arm: socfpga: remove building scan manager
arm: socfpga: fix up a questionable macro for SDMMC

 arch/arm/Kconfig                                   |   4 +-
 arch/arm/mach-socfpga/Kconfig                      |  15 +++
 arch/arm/mach-socfpga/Makefile                     |   5 +-
 arch/arm/mach-socfpga/include/mach/reset_manager.h |  71 ++++++++++-
 .../arm/mach-socfpga/include/mach/system_manager.h | 132 ++++++++++++++++++++-
 arch/arm/mach-socfpga/misc.c                       |  51 ++++++++
 arch/arm/mach-socfpga/reset_manager.c              |  36 ++++--
 configs/socfpga_arria10_defconfig                  |  16 +++
 drivers/mmc/socfpga_dw_mmc.c                       |   5 +-
 include/configs/socfpga_arria10_socdk.h            |  94 +++++++++++++++
 10 files changed, 410 insertions(+), 19 deletions(-)
 create mode 100644 configs/socfpga_arria10_defconfig
 create mode 100644 include/configs/socfpga_arria10_socdk.h
Signature · 1 line
2.6.2