]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/altera/socfpga/wrap_sdram_config.c
ddr: altera: sequencer: Wrap ac_rom_init and inst_rom_init
[karo-tx-uboot.git] / board / altera / socfpga / wrap_sdram_config.c
index c70854e6e38fa71ea7d23d30882d18cb22d3639a..d87bec0d5cc2cbc71f23910d283adfbee112a2dd 100644 (file)
@@ -10,6 +10,9 @@
 /* QTS output file. */
 #include "qts/sdram_config.h"
 
+#include "qts/sequencer_auto_ac_init.h"
+#include "qts/sequencer_auto_inst_init.h"
+
 static const struct socfpga_sdram_config sdram_config = {
        .ctrl_cfg =
                (CONFIG_HPS_SDR_CTRLCFG_CTRLCFG_MEMTYPE <<
@@ -183,3 +186,15 @@ const struct socfpga_sdram_config *socfpga_get_sdram_config(void)
 {
        return &sdram_config;
 }
+
+void socfpga_get_seq_ac_init(const u32 **init, unsigned int *nelem)
+{
+       *init = ac_rom_init;
+       *nelem = ARRAY_SIZE(ac_rom_init);
+}
+
+void socfpga_get_seq_inst_init(const u32 **init, unsigned int *nelem)
+{
+       *init = inst_rom_init;
+       *nelem = ARRAY_SIZE(inst_rom_init);
+}