Lines Matching full:sdram

10 #include <asm/arch/sdram.h>
15 u32 sdram_start; /* SDRAM start address */
16 u32 sdram_end; /* SDRAM end address */
17 u32 rule; /* SDRAM protection rule number: 0-19 */
34 * @cfg: SDRAM controller configuration data
36 * SDRAM Failure happens when accessing non-existent memory. Artificially
42 /* Define constant for 4G memory - used for SDRAM errata workaround */ in get_errata_rows()
85 printf("SDRAM workaround failed, bits set %d\n", bits); in get_errata_rows()
90 printf("SDRAM workaround rangecheck failed, %lld\n", newrows); in get_errata_rows()
99 printf("SDRAM workaround failed, newrows %lld\n", newrows); in get_errata_rows()
106 /* SDRAM protection rules vary from 0-19, a total of 20 rules. */
120 debug("sdram set rule start %x, %d\n", lo_addr_bits, in sdram_set_rule()
122 debug("sdram set rule end %x, %d\n", hi_addr_bits, in sdram_set_rule()
180 /* Start with accepting all SDRAM transaction */ in sdram_set_protection_config()
191 /* new rule: accept SDRAM */ in sdram_set_protection_config()
214 debug("SDRAM Prot rule, default %x\n", in sdram_dump_protection_config()
221 debug(" sdram start %x\n", rule.sdram_start); in sdram_dump_protection_config()
222 debug(" sdram end %x\n", rule.sdram_end); in sdram_dump_protection_config()
262 * @cfg: SDRAM controller configuration data
278 * SDRAM Failure When Accessing Non-Existent Memory in sdr_get_ctrlcfg()
279 * Set the addrorder field of the SDRAM control register in sdr_get_ctrlcfg()
300 * @cfg: SDRAM controller configuration data
307 * SDRAM Failure When Accessing Non-Existent Memory in sdr_get_addr_rw()
320 * sdr_load_regs() - Load SDRAM controller registers
321 * @cfg: SDRAM controller configuration data
323 * This function loads the register values into the SDRAM controller block.
424 * sdram_mmr_init_full() - Function to initialize SDRAM MMR
427 * Initialize the SDRAM MMR.
470 * sdram_calculate_size() - Calculate SDRAM size
472 * Calculate SDRAM device size based on SDRAM controller parameters.
492 * SDRAM Failure When Accessing Non-Existent Memory in sdram_calculate_size()
493 * Use ROWBITS from Quartus/QSys to calculate SDRAM size in sdram_calculate_size()
494 * since the FB specifies we modify ROWBITs to work around SDRAM in sdram_calculate_size()
514 * SDRAM Failure When Accessing Non-Existent Memory in sdram_calculate_size()
515 * Use CSBITs from Quartus/QSys to calculate SDRAM size in sdram_calculate_size()
516 * since the FB specifies we modify CSBITs to work around SDRAM in sdram_calculate_size()
529 /* calculate the SDRAM size base on this info */ in sdram_calculate_size()