Lines Matching +full:mode +full:- +full:xxx
1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2000-2003
6 * Copyright (C) 2004-2007, 2012 Freescale Semiconductor, Inc.
7 * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
34 out_be32(&siu->drv, CONFIG_SYS_SDRAM_DRVSTRENGTH); in dram_init()
41 i--; in dram_init()
42 out_be32(&siu->cs0cfg, CONFIG_SYS_SDRAM_BASE | i); in dram_init()
50 i--; in dram_init()
52 out_be32(&siu->cs1cfg, (CONFIG_SYS_SDRAM_BASE + temp) | i); in dram_init()
55 out_be32(&sdram->cfg1, CONFIG_SYS_SDRAM_CFG1); in dram_init()
56 out_be32(&sdram->cfg2, CONFIG_SYS_SDRAM_CFG2); in dram_init()
59 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init()
62 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_EMOD); in dram_init()
63 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE | 0x04000000); in dram_init()
68 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init()
71 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init()
72 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init()
74 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE); in dram_init()
76 out_be32(&sdram->ctrl, in dram_init()
81 gd->ram_size = dramsize; in dram_init()
88 /* TODO: XXX XXX XXX */ in testdram()