Lines Matching full:sdram

11 #include <asm/arch/sdram.h>
18 u32 sdram_start; /* SDRAM start address */
19 u32 sdram_end; /* SDRAM end address */
20 u32 rule; /* SDRAM protection rule number: 0-19 */
37 * @cfg: SDRAM controller configuration data
39 * SDRAM Failure happens when accessing non-existent memory. Artificially
45 /* Define constant for 4G memory - used for SDRAM errata workaround */ in get_errata_rows()
88 printf("SDRAM workaround failed, bits set %d\n", bits); in get_errata_rows()
93 printf("SDRAM workaround rangecheck failed, %lld\n", newrows); in get_errata_rows()
102 printf("SDRAM workaround failed, newrows %lld\n", newrows); in get_errata_rows()
109 /* SDRAM protection rules vary from 0-19, a total of 20 rules. */
123 debug("sdram set rule start %x, %d\n", lo_addr_bits, in sdram_set_rule()
125 debug("sdram set rule end %x, %d\n", hi_addr_bits, in sdram_set_rule()
183 /* Start with accepting all SDRAM transaction */ in sdram_set_protection_config()
194 /* new rule: accept SDRAM */ in sdram_set_protection_config()
217 debug("SDRAM Prot rule, default %x\n", in sdram_dump_protection_config()
224 debug(" sdram start %x\n", rule.sdram_start); in sdram_dump_protection_config()
225 debug(" sdram end %x\n", rule.sdram_end); in sdram_dump_protection_config()
265 * @cfg: SDRAM controller configuration data
281 * SDRAM Failure When Accessing Non-Existent Memory in sdr_get_ctrlcfg()
282 * Set the addrorder field of the SDRAM control register in sdr_get_ctrlcfg()
303 * @cfg: SDRAM controller configuration data
310 * SDRAM Failure When Accessing Non-Existent Memory in sdr_get_addr_rw()
323 * sdr_load_regs() - Load SDRAM controller registers
324 * @cfg: SDRAM controller configuration data
326 * This function loads the register values into the SDRAM controller block.
427 * sdram_mmr_init_full() - Function to initialize SDRAM MMR
430 * Initialize the SDRAM MMR.
473 * sdram_calculate_size() - Calculate SDRAM size
475 * Calculate SDRAM device size based on SDRAM controller parameters.
495 * SDRAM Failure When Accessing Non-Existent Memory in sdram_calculate_size()
496 * Use ROWBITS from Quartus/QSys to calculate SDRAM size in sdram_calculate_size()
497 * since the FB specifies we modify ROWBITs to work around SDRAM in sdram_calculate_size()
517 * SDRAM Failure When Accessing Non-Existent Memory in sdram_calculate_size()
518 * Use CSBITs from Quartus/QSys to calculate SDRAM size in sdram_calculate_size()
519 * since the FB specifies we modify CSBITs to work around SDRAM in sdram_calculate_size()
532 /* calculate the SDRAM size base on this info */ in sdram_calculate_size()