Home
last modified time | relevance | path

Searched refs:ecc_test_ctrl (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/ram/aspeed/
H A Dsdram_ast2500.c144 SDRAM_TEST_ERRSTOP, &regs->ecc_test_ctrl); in ast2500_ddr_cbr_test()
146 while (!(readl(&regs->ecc_test_ctrl) & SDRAM_TEST_DONE)) in ast2500_ddr_cbr_test()
149 if (readl(&regs->ecc_test_ctrl) & SDRAM_TEST_FAIL) { in ast2500_ddr_cbr_test()
154 &regs->ecc_test_ctrl); in ast2500_ddr_cbr_test()
155 while (!(readl(&regs->ecc_test_ctrl) & SDRAM_TEST_DONE)) in ast2500_ddr_cbr_test()
157 if (readl(&regs->ecc_test_ctrl) & SDRAM_TEST_FAIL) { in ast2500_ddr_cbr_test()
165 writel(0, &regs->ecc_test_ctrl); in ast2500_ddr_cbr_test()
305 writel(0x221, &regs->ecc_test_ctrl); in ast2500_sdrammc_ecc_enable()
306 while (0 == (readl(&regs->ecc_test_ctrl) & BIT(12))) in ast2500_sdrammc_ecc_enable()
308 writel(0, &regs->ecc_test_ctrl); in ast2500_sdrammc_ecc_enable()
[all …]
H A Dsdram_ast2600.c379 writel(0, &regs->ecc_test_ctrl); in ast2600_sdrammc_dg_test()
381 writel(0x00000085 | (datagen << 3), &regs->ecc_test_ctrl); in ast2600_sdrammc_dg_test()
383 writel(0x000000C1 | (datagen << 3), &regs->ecc_test_ctrl); in ast2600_sdrammc_dg_test()
386 data = readl(&regs->ecc_test_ctrl) & GENMASK(13, 12); in ast2600_sdrammc_dg_test()
393 writel(0, &regs->ecc_test_ctrl); in ast2600_sdrammc_dg_test()
399 writel(0, &regs->ecc_test_ctrl); in ast2600_sdrammc_dg_test()
791 writel(0, &regs->ecc_test_ctrl); in ast2600_sdrammc_common_init()
889 writel(0x221, &regs->ecc_test_ctrl); in ast2600_sdrammc_ecc_enable()
890 while (0 == (readl(&regs->ecc_test_ctrl) & BIT(12))) in ast2600_sdrammc_ecc_enable()
892 writel(0, &regs->ecc_test_ctrl); in ast2600_sdrammc_ecc_enable()
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/
H A Dsdram_ast2500.h123 u32 ecc_test_ctrl; /* offset 0x70 */ member
H A Dsdram_ast2600.h155 u32 ecc_test_ctrl; /* offset 0x70 */ member