Intel Agilex® 7 SoC FPGA Boot User Guide

ID 683389
Date 2/01/2024
Public
Document Table of Contents

A.1. BOOT_SCRATCH_COLD0

Boot Scratch Register Intel Agilex® 7 F/I-Series Intel Agilex® 7 M-Series
Boot_Scratch_Cold0
Bits[30:28] Can be used as scratch memory. Reserved for DDR reset type.
  • Values
    • 0 – POR_RESET
    • 1 – WARM_RESET
    • 2 – COLD_RESET
    • 3 – NCONFIG
    • 4 – JTAG_CONFIG
    • 5 – RSU_RECONFIG
  • Usage:
    • SDM:
      • Sets the bit
    • U-Boot:
      • drivers/ddr/altera/sdram_agilex7.c:get_reset_type() reads it
Bits[27:0] Reserved for storing QSPI reference clock.
  • Usage:
    • U-Boot:
      • arch/arm/mach-socfpga/clock_manager.c:cm_set_qspi_controller_clk_hz() sets it to the value reported by mailbox when opening the QSPI device.
      • arch/arm/mach-socfpga/clock_manager.c:cm_get_qspi_controller_clk_hz() reads and returns the value from the register.