Searched refs:ecc_test_ctrl (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/drivers/ram/aspeed/ |
H A D | sdram_ast2500.c | 144 SDRAM_TEST_ERRSTOP, ®s->ecc_test_ctrl); in ast2500_ddr_cbr_test() 146 while (!(readl(®s->ecc_test_ctrl) & SDRAM_TEST_DONE)) in ast2500_ddr_cbr_test() 149 if (readl(®s->ecc_test_ctrl) & SDRAM_TEST_FAIL) { in ast2500_ddr_cbr_test() 154 ®s->ecc_test_ctrl); in ast2500_ddr_cbr_test() 155 while (!(readl(®s->ecc_test_ctrl) & SDRAM_TEST_DONE)) in ast2500_ddr_cbr_test() 157 if (readl(®s->ecc_test_ctrl) & SDRAM_TEST_FAIL) { in ast2500_ddr_cbr_test() 165 writel(0, ®s->ecc_test_ctrl); in ast2500_ddr_cbr_test() 305 writel(0x221, ®s->ecc_test_ctrl); in ast2500_sdrammc_ecc_enable() 306 while (0 == (readl(®s->ecc_test_ctrl) & BIT(12))) in ast2500_sdrammc_ecc_enable() 308 writel(0, ®s->ecc_test_ctrl); in ast2500_sdrammc_ecc_enable() [all …]
|
H A D | sdram_ast2600.c | 379 writel(0, ®s->ecc_test_ctrl); in ast2600_sdrammc_dg_test() 381 writel(0x00000085 | (datagen << 3), ®s->ecc_test_ctrl); in ast2600_sdrammc_dg_test() 383 writel(0x000000C1 | (datagen << 3), ®s->ecc_test_ctrl); in ast2600_sdrammc_dg_test() 386 data = readl(®s->ecc_test_ctrl) & GENMASK(13, 12); in ast2600_sdrammc_dg_test() 393 writel(0, ®s->ecc_test_ctrl); in ast2600_sdrammc_dg_test() 399 writel(0, ®s->ecc_test_ctrl); in ast2600_sdrammc_dg_test() 791 writel(0, ®s->ecc_test_ctrl); in ast2600_sdrammc_common_init() 889 writel(0x221, ®s->ecc_test_ctrl); in ast2600_sdrammc_ecc_enable() 890 while (0 == (readl(®s->ecc_test_ctrl) & BIT(12))) in ast2600_sdrammc_ecc_enable() 892 writel(0, ®s->ecc_test_ctrl); in ast2600_sdrammc_ecc_enable()
|
/openbmc/u-boot/arch/arm/include/asm/arch-aspeed/ |
H A D | sdram_ast2500.h | 123 u32 ecc_test_ctrl; /* offset 0x70 */ member
|
H A D | sdram_ast2600.h | 155 u32 ecc_test_ctrl; /* offset 0x70 */ member
|