/external/u-boot/board/freescale/m54418twr/ |
D | m54418twr.c | 38 sdramc_t *sdram = (sdramc_t *)(MMAP_SDRAM); in dram_init() local 57 out_be32(&sdram->rcrcr, 0x40000000); in dram_init() 58 out_be32(&sdram->padcr, 0x01030203); in dram_init() 60 out_be32(&sdram->cr00, 0x01010101); in dram_init() 61 out_be32(&sdram->cr01, 0x00000101); in dram_init() 62 out_be32(&sdram->cr02, 0x01010100); in dram_init() 63 out_be32(&sdram->cr03, 0x01010000); in dram_init() 64 out_be32(&sdram->cr04, 0x00010101); in dram_init() 65 out_be32(&sdram->cr06, 0x00010100); in dram_init() 66 out_be32(&sdram->cr07, 0x00000001); in dram_init() [all …]
|
/external/u-boot/board/freescale/m5208evbe/ |
D | m5208evbe.c | 26 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); in dram_init() local 37 out_be32(&sdram->cs0, CONFIG_SYS_SDRAM_BASE | i); in dram_init() 39 out_be32(&sdram->cs1, 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() 47 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init() 51 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() 52 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() 56 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE); in dram_init() 58 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_EMOD); in dram_init() [all …]
|
/external/u-boot/board/freescale/m5329evb/ |
D | m5329evb.c | 26 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); in dram_init() local 37 out_be32(&sdram->cs0, CONFIG_SYS_SDRAM_BASE | i); in dram_init() 38 out_be32(&sdram->cfg1, CONFIG_SYS_SDRAM_CFG1); in dram_init() 39 out_be32(&sdram->cfg2, CONFIG_SYS_SDRAM_CFG2); in dram_init() 42 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init() 45 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_EMOD); in dram_init() 46 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE | 0x04000000); in dram_init() 51 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init() 54 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() 55 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() [all …]
|
/external/u-boot/board/freescale/m5373evb/ |
D | m5373evb.c | 26 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); in dram_init() local 37 out_be32(&sdram->cs0, CONFIG_SYS_SDRAM_BASE | i); in dram_init() 38 out_be32(&sdram->cfg1, CONFIG_SYS_SDRAM_CFG1); in dram_init() 39 out_be32(&sdram->cfg2, CONFIG_SYS_SDRAM_CFG2); in dram_init() 42 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init() 45 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_EMOD); in dram_init() 46 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE | 0x04000000); in dram_init() 51 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init() 54 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() 55 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() [all …]
|
/external/u-boot/board/freescale/m53017evb/ |
D | m53017evb.c | 26 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); in dram_init() local 37 out_be32(&sdram->cs0, CONFIG_SYS_SDRAM_BASE | i); in dram_init() 39 out_be32(&sdram->cs1, 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() 47 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init() 51 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() 52 out_be32(&sdram->ctrl, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() 56 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_MODE); in dram_init() 58 out_be32(&sdram->mode, CONFIG_SYS_SDRAM_EMOD); in dram_init() [all …]
|
/external/u-boot/board/freescale/m54451evb/ |
D | m54451evb.c | 38 sdramc_t *sdram = (sdramc_t *)(MMAP_SDRAM); in dram_init() local 44 if ((in_be32(&sdram->sdcfg1) == CONFIG_SYS_SDRAM_CFG1) && in dram_init() 45 (in_be32(&sdram->sdcfg2) == CONFIG_SYS_SDRAM_CFG2)) in dram_init() 56 out_be32(&sdram->sdcs0, CONFIG_SYS_SDRAM_BASE | i); in dram_init() 58 out_be32(&sdram->sdcfg1, CONFIG_SYS_SDRAM_CFG1); in dram_init() 59 out_be32(&sdram->sdcfg2, CONFIG_SYS_SDRAM_CFG2); in dram_init() 64 out_be32(&sdram->sdcr, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init() 68 out_be32(&sdram->sdcr, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() 70 out_be32(&sdram->sdcr, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() 74 out_be32(&sdram->sdmr, CONFIG_SYS_SDRAM_MODE); in dram_init() [all …]
|
/external/u-boot/doc/device-tree-bindings/ram/ |
D | st,stm32-fmc.txt | 8 on-board sdram memory attributes: 9 - st,sdram-control : parameters for sdram configuration, in this order: 18 - st,sdram-timing: timings for sdram, in this order: 27 include/dt-bindings/memory/stm32-sdram.h to define sdram control and timing 43 /* sdram memory configuration from sdram datasheet */ 45 st,sdram-control = /bits/ 8 <NO_COL_8 NO_ROW_12 MWIDTH_16 BANKS_2 47 st,sdram-timing = /bits/ 8 <TMRD_1 TXSR_60 TRAS_42 TRC_60 TRP_18 51 /* sdram memory configuration from sdram datasheet */ 53 st,sdram-control = /bits/ 8 <NO_COL_8 NO_ROW_12 MWIDTH_16 BANKS_2 55 st,sdram-timing = /bits/ 8 <TMRD_1 TXSR_60 TRAS_42 TRC_60 TRP_18
|
/external/u-boot/board/freescale/m52277evb/ |
D | m52277evb.c | 34 sdramc_t *sdram = (sdramc_t *)(MMAP_SDRAM); in dram_init() local 48 out_be32(&sdram->sdcs0, CONFIG_SYS_SDRAM_BASE | i); in dram_init() 50 out_be32(&sdram->sdcfg1, CONFIG_SYS_SDRAM_CFG1); in dram_init() 51 out_be32(&sdram->sdcfg2, CONFIG_SYS_SDRAM_CFG2); in dram_init() 54 out_be32(&sdram->sdcr, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init() 58 out_be32(&sdram->sdmr, CONFIG_SYS_SDRAM_MODE); in dram_init() 60 out_be32(&sdram->sdmr, CONFIG_SYS_SDRAM_EMOD); in dram_init() 66 out_be32(&sdram->sdcr, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init() 70 out_be32(&sdram->sdcr, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() 72 out_be32(&sdram->sdcr, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() [all …]
|
/external/u-boot/board/freescale/m547xevb/ |
D | m547xevb.c | 28 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); in dram_init() local 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() [all …]
|
/external/u-boot/board/freescale/m548xevb/ |
D | m548xevb.c | 28 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); in dram_init() local 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() [all …]
|
/external/u-boot/board/freescale/m54455evb/ |
D | m54455evb.c | 34 sdramc_t *sdram = (sdramc_t *)(MMAP_SDRAM); in dram_init() local 48 out_be32(&sdram->sdcs0, CONFIG_SYS_SDRAM_BASE | i); in dram_init() 49 out_be32(&sdram->sdcs1, CONFIG_SYS_SDRAM_BASE1 | i); in dram_init() 51 out_be32(&sdram->sdcfg1, CONFIG_SYS_SDRAM_CFG1); in dram_init() 52 out_be32(&sdram->sdcfg2, CONFIG_SYS_SDRAM_CFG2); in dram_init() 55 out_be32(&sdram->sdcr, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init() 58 out_be32(&sdram->sdmr, CONFIG_SYS_SDRAM_EMOD | 0x408); in dram_init() 59 out_be32(&sdram->sdmr, CONFIG_SYS_SDRAM_MODE | 0x300); in dram_init() 64 out_be32(&sdram->sdcr, CONFIG_SYS_SDRAM_CTRL | 2); in dram_init() 67 out_be32(&sdram->sdcr, CONFIG_SYS_SDRAM_CTRL | 4); in dram_init() [all …]
|
/external/u-boot/board/freescale/m5235evb/ |
D | m5235evb.c | 26 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); in dram_init() local 52 if (!(in_be32(&sdram->dacr0) & SDRAMC_DARCn_RE)) { in dram_init() 56 out_be16(&sdram->dcr, SDRAMC_DCR_RTIM_9CLKS | in dram_init() 61 out_be32(&sdram->dacr0, in dram_init() 68 out_be32(&sdram->dmr0, in dram_init() 73 setbits_be32(&sdram->dacr0, SDRAMC_DARCn_IP); in dram_init() 84 setbits_be32(&sdram->dacr0, SDRAMC_DARCn_RE); in dram_init() 92 setbits_be32(&sdram->dacr0, SDRAMC_DARCn_IMRS); in dram_init()
|
/external/u-boot/arch/arm/mach-tegra/tegra20/ |
D | warmboot.c | 124 struct sdram_params sdram; in warmboot_save_sdram_params() local 141 memcpy(&sdram, in warmboot_save_sdram_params() 143 sizeof(sdram)); in warmboot_save_sdram_params() 167 scratch2.memory_type = sdram.memory_type; in warmboot_save_sdram_params() 174 scratch4.emc_clock_divider = sdram.emc_clock_divider; in warmboot_save_sdram_params() 181 scratch24.emc_pin_program_wait = sdram.emc_pin_program_wait; in warmboot_save_sdram_params() 182 scratch24.emc_auto_cal_wait = sdram.emc_auto_cal_wait; in warmboot_save_sdram_params() 183 scratch24.warmboot_wait = sdram.warm_boot_wait; in warmboot_save_sdram_params()
|
/external/u-boot/arch/arm/cpu/armv8/ |
D | u-boot-spl.lds | 16 MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, 61 } >.sdram 66 } >.sdram 70 } >.sdram
|
/external/u-boot/arch/m68k/cpu/mcf532x/ |
D | speed.c | 143 sdram_t *sdram = (sdram_t *)(MMAP_SDRAM); in clock_pll() local 199 if (in_be32(&sdram->ctrl) & SDRAMC_SDCR_REF) in clock_pll() 200 clrbits_be32(&sdram->ctrl, SDRAMC_SDCR_CKE); in clock_pll() 232 if (in_be32(&sdram->ctrl) & SDRAMC_SDCR_REF) in clock_pll() 233 setbits_be32(&sdram->ctrl, SDRAMC_SDCR_CKE); in clock_pll()
|
/external/u-boot/arch/arm/dts/ |
D | stm32h743i-eval.dts | 46 #include <dt-bindings/memory/stm32-sdram.h> 89 * Memory configuration from sdram datasheet IS42S32800G-6BLI 94 st,sdram-control = /bits/ 8 <NO_COL_9 NO_ROW_12 MWIDTH_32 BANKS_4 96 st,sdram-timing = /bits/ 8 <TMRD_1 TXSR_1 TRAS_1 TRC_6 TRP_2 98 st,sdram-refcount = <1539>;
|
D | stm32h743i-disco.dts | 46 #include <dt-bindings/memory/stm32-sdram.h> 90 * Memory configuration from sdram datasheet IS42S32800G-6BLI 95 st,sdram-control = /bits/ 8 <NO_COL_9 NO_ROW_12 MWIDTH_32 BANKS_4 97 st,sdram-timing = /bits/ 8 <TMRD_1 TXSR_1 TRAS_1 TRC_6 TRP_2 99 st,sdram-refcount = <1539>;
|
D | stm32f429-disco-u-boot.dtsi | 7 #include <dt-bindings/memory/stm32-sdram.h> 45 * Memory configuration from sdram datasheet 49 st,sdram-control = /bits/ 8 <NO_COL_8 57 st,sdram-timing = /bits/ 8 <TMRD_3 63 st,sdram-refcount = < 1386 >;
|
D | stm32f469-disco-u-boot.dtsi | 7 #include <dt-bindings/memory/stm32-sdram.h> 45 * Memory configuration from sdram 49 st,sdram-control = /bits/ 8 <NO_COL_8 57 st,sdram-timing = /bits/ 8 <TMRD_2 64 st,sdram-refcount = < 1292 >;
|
D | stm32429i-eval-u-boot.dtsi | 7 #include <dt-bindings/memory/stm32-sdram.h> 45 * Memory configuration from sdram 49 st,sdram-control = /bits/ 8 <NO_COL_9 57 st,sdram-timing = /bits/ 8 <TMRD_2 64 st,sdram-refcount = < 2812 >;
|
D | stm32f769-disco.dts | 45 #include <dt-bindings/memory/stm32-sdram.h> 213 /* Memory configuration from sdram datasheet MT48LC_4M32_B2B5-6A */ 215 st,sdram-control = /bits/ 8 <NO_COL_8 NO_ROW_12 MWIDTH_32 BANKS_4 218 st,sdram-timing = /bits/ 8 <TMRD_2 TXSR_6 TRAS_4 TRC_6 TWR_2 221 st,sdram-refcount = < 1542 >;
|
D | stm32746g-eval.dts | 49 #include <dt-bindings/memory/stm32-sdram.h> 222 * Memory configuration from sdram datasheet IS42S32800G-6BLI 225 st,sdram-control = /bits/ 8 <NO_COL_9 NO_ROW_12 MWIDTH_32 BANKS_4 227 st,sdram-timing = /bits/ 8 <TMRD_1 TXSR_1 TRAS_1 TRC_6 TRP_2 229 st,sdram-refcount = <1539>;
|
/external/u-boot/arch/arm/mach-at91/arm926ejs/ |
D | u-boot-spl.lds | 9 MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \ 49 } >.sdram
|
/external/u-boot/arch/arm/cpu/arm1136/ |
D | u-boot-spl.lds | 13 MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \ 49 } >.sdram
|
/external/u-boot/arch/arm/mach-at91/ |
D | Makefile | 5 obj-$(CONFIG_AT91SAM9260) += sdram.o spl_at91.o 6 obj-$(CONFIG_AT91SAM9G20) += sdram.o spl_at91.o
|