Lines Matching refs:sdram
29 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); in dram_init() local
40 out_be32(&sdram->cs0, CONFIG_SYS_SDRAM_BASE | i); in dram_init()
41 out_be32(&sdram->cfg1, CONFIG_SYS_SDRAM_CFG1); in dram_init()
42 out_be32(&sdram->cfg2, CONFIG_SYS_SDRAM_CFG2); in dram_init()
45 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init()
48 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_EMOD); in dram_init()
49 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE | 0x04000000); in dram_init()
54 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init()
57 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init()
58 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init()
60 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE); in dram_init()
62 out_be32(&sdram->ctrl, in dram_init()