Home
last modified time | relevance | path

Searched refs:lbc (Results 1 – 18 of 18) sorted by relevance

/u-boot/drivers/mtd/nand/raw/
A Dfsl_elbc_nand.c168 out_be32(&lbc->fpar, in set_addr()
174 out_be32(&lbc->fpar, in set_addr()
212 in_be32(&lbc->fmr), in_be32(&lbc->fir), in_be32(&lbc->fcr)); in fsl_elbc_run_command()
215 in_be32(&lbc->fbar), in_be32(&lbc->fpar), in fsl_elbc_run_command()
255 out_be32(&lbc->fir, in fsl_elbc_do_read()
265 out_be32(&lbc->fir, in fsl_elbc_do_read()
272 out_be32(&lbc->fcr, in fsl_elbc_do_read()
362 out_be32(&lbc->fir, in fsl_elbc_cmdfunc()
367 out_be32(&lbc->fcr, in fsl_elbc_cmdfunc()
451 out_be32(&lbc->fir, in fsl_elbc_cmdfunc()
[all …]
/u-boot/board/freescale/mpc8555cds/
A Dmpc8555cds.c235 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR; in local_bus_init() local
252 clkdiv = lbc->lcrr & LCRR_CLKDIV; in local_bus_init()
256 lbc->lcrr |= LCRR_DBYP; /* DLL Bypass */ in local_bus_init()
262 lbc->lcrr &= (~LCRR_DBYP); /* DLL Enabled */ in local_bus_init()
283 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR; in lbc_sdram_init() local
297 lbc->lbcr = CONFIG_SYS_LBC_LBCR; in lbc_sdram_init()
300 lbc->lsrt = CONFIG_SYS_LBC_LSRT; in lbc_sdram_init()
301 lbc->mrtpr = CONFIG_SYS_LBC_MRTPR; in lbc_sdram_init()
324 lbc->lsdmr = lsdmr_common | LSDMR_OP_PCHALL; in lbc_sdram_init()
344 lbc->lsdmr = lsdmr_common | LSDMR_OP_MRW; in lbc_sdram_init()
[all …]
/u-boot/board/freescale/mpc8541cds/
A Dmpc8541cds.c237 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR; in local_bus_init() local
254 clkdiv = lbc->lcrr & LCRR_CLKDIV; in local_bus_init()
258 lbc->lcrr |= LCRR_DBYP; /* DLL Bypass */ in local_bus_init()
264 lbc->lcrr &= (~LCRR_DBYP); /* DLL Enabled */ in local_bus_init()
285 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR; in lbc_sdram_init() local
299 lbc->lbcr = CONFIG_SYS_LBC_LBCR; in lbc_sdram_init()
302 lbc->lsrt = CONFIG_SYS_LBC_LSRT; in lbc_sdram_init()
303 lbc->mrtpr = CONFIG_SYS_LBC_MRTPR; in lbc_sdram_init()
326 lbc->lsdmr = lsdmr_common | LSDMR_OP_PCHALL; in lbc_sdram_init()
346 lbc->lsdmr = lsdmr_common | LSDMR_OP_MRW; in lbc_sdram_init()
[all …]
/u-boot/board/sbc8548/
A Dsbc8548.c62 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR; in local_bus_init() local
102 out_be32(&lbc->lcrr, lcrr); in local_bus_init()
109 lcrr = in_be32(&lbc->lcrr); in local_bus_init()
128 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR; in lbc_sdram_init() local
144 out_be32(&lbc->lbcr, CONFIG_SYS_LBC_LBCR); in lbc_sdram_init()
147 out_be32(&lbc->lsrt, CONFIG_SYS_LBC_LSRT); in lbc_sdram_init()
148 out_be32(&lbc->mrtpr, CONFIG_SYS_LBC_MRTPR); in lbc_sdram_init()
154 out_be32(&lbc->lsdmr, CONFIG_SYS_LBC_LSDMR_PCHALL); in lbc_sdram_init()
166 out_be32(&lbc->lsdmr, CONFIG_SYS_LBC_LSDMR_ARFRSH); in lbc_sdram_init()
178 out_be32(&lbc->lsdmr, CONFIG_SYS_LBC_LSDMR_MRW); in lbc_sdram_init()
[all …]
/u-boot/board/freescale/mpc8568mds/
A Dmpc8568mds.c134 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR; in local_bus_init() local
140 clkdiv = (lbc->lcrr & LCRR_CLKDIV) * 2; in local_bus_init()
151 lbc->lcrr |= 0x00030000; in local_bus_init()
164 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR; in lbc_sdram_init() local
179 lbc->lbcr = CONFIG_SYS_LBC_LBCR; in lbc_sdram_init()
182 lbc->lsrt = CONFIG_SYS_LBC_LSRT; in lbc_sdram_init()
183 lbc->mrtpr = CONFIG_SYS_LBC_MRTPR; in lbc_sdram_init()
195 lbc->lsdmr = lsdmr_common | LSDMR_OP_PCHALL; in lbc_sdram_init()
205 lbc->lsdmr = lsdmr_common | LSDMR_OP_ARFRSH; in lbc_sdram_init()
215 lbc->lsdmr = lsdmr_common | LSDMR_OP_MRW; in lbc_sdram_init()
[all …]
/u-boot/board/freescale/mpc8548cds/
A Dmpc8548cds.c71 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR; in local_bus_init() local
77 clkdiv = (lbc->lcrr & LCRR_CLKDIV) * 2; in local_bus_init()
88 lbc->lcrr |= 0x00030000; in local_bus_init()
104 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR; in lbc_sdram_init() local
117 lbc->lbcr = CONFIG_SYS_LBC_LBCR; in lbc_sdram_init()
120 lbc->lsrt = CONFIG_SYS_LBC_LSRT; in lbc_sdram_init()
121 lbc->mrtpr = CONFIG_SYS_LBC_MRTPR; in lbc_sdram_init()
133 lbc->lsdmr = lsdmr_common | LSDMR_OP_PCHALL; in lbc_sdram_init()
143 lbc->lsdmr = lsdmr_common | LSDMR_OP_ARFRSH; in lbc_sdram_init()
153 lbc->lsdmr = lsdmr_common | LSDMR_OP_MRW; in lbc_sdram_init()
[all …]
/u-boot/board/sbc8349/
A Dsbc8349.c153 volatile fsl_lbc_t *lbc = &immap->im_lbc; in sdram_init() local
167 lbc->lbcr = 0x00000000; in sdram_init()
169 lbc->mrtpr = 0x20000000; in sdram_init()
171 lbc->lsrt = 0x32000000; in sdram_init()
178 lbc->lsdmr = lsdmr_common | LSDMR_OP_NORMAL; in sdram_init()
181 lbc->lsdmr = lsdmr_common | LSDMR_OP_PCHALL; in sdram_init()
187 lbc->lsdmr = lsdmr_common | LSDMR_OP_ARFRSH; in sdram_init()
215 lbc->lsdmr = lsdmr_common | LSDMR_OP_MRW; in sdram_init()
221 lbc->lsdmr = lsdmr_common | LSDMR_OP_NORMAL; in sdram_init()
/u-boot/board/freescale/mpc8349emds/
A Dmpc8349emds.c189 volatile fsl_lbc_t *lbc = &immap->im_lbc; in sdram_init() local
199 lbc->lbcr = 0x00000000; in sdram_init()
201 lbc->mrtpr = 0x20000000; in sdram_init()
203 lbc->lsrt = 0x32000000; in sdram_init()
211 lbc->lsdmr = lsdmr_common | LSDMR_OP_NORMAL; in sdram_init()
214 lbc->lsdmr = lsdmr_common | LSDMR_OP_PCHALL; in sdram_init()
220 lbc->lsdmr = lsdmr_common | LSDMR_OP_ARFRSH; in sdram_init()
248 lbc->lsdmr = lsdmr_common | LSDMR_OP_MRW; in sdram_init()
254 lbc->lsdmr = lsdmr_common | LSDMR_OP_NORMAL; in sdram_init()
/u-boot/board/socrates/
A Dsocrates.c145 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR; in local_bus_init() local
153 clkdiv = lbc->lcrr & LCRR_CLKDIV; in local_bus_init()
162 out_be32 (&lbc->lcrr, lcrr); in local_bus_init()
165 out_be32 (&lbc->ltesr, 0xffffffff); /* Clear LBC error interrupts */ in local_bus_init()
166 out_be32 (&lbc->lteir, 0xffffffff); /* Enable LBC error interrupts */ in local_bus_init()
171 out_be32 (&lbc->mamr, 0x44440); /* Use a customer-supplied value */ in local_bus_init()
175 out_be32 (&lbc->mbmr, 0x444440); /* Use a customer-supplied value */ in local_bus_init()
/u-boot/board/varisys/cyrus/
A Dcyrus.c64 fsl_lbc_t *lbc = LBC_BASE_ADDR; in board_early_init_r() local
66 out_be32(&lbc->lbcr, 0); in board_early_init_r()
68 out_be32(&lbc->lcrr, 0x80000000 | CONFIG_SYS_LBC_LCRR); in board_early_init_r()
/u-boot/arch/powerpc/cpu/mpc8xxx/
A Dfsl_lbc.c114 fsl_lbc_t *lbc = LBC_BASE_ADDR; in upmconfig() local
118 u32 *mxmr = &lbc->mamr + upm; in upmconfig()
145 out_be32(&lbc->mdr, table[i]); in upmconfig()
146 (void)in_be32(&lbc->mdr); in upmconfig()
/u-boot/board/freescale/mpc8313erdb/
A Dsdram.c105 volatile fsl_lbc_t *lbc = &im->im_lbc; in dram_init() local
115 lbc->lbcr = (0x00040000 | (0xFF << LBCR_BMT_SHIFT) | 0xF); in dram_init()
117 lbc->mrtpr = 0x20000000; in dram_init()
/u-boot/board/ids/ids8313/
A Dids8313.c129 fsl_lbc_t *lbc = &im->im_lbc; in dram_init() local
137 out_be32(&lbc->lbcr, (0x00040000 | (0xFF << LBCR_BMT_SHIFT) | 0xF)); in dram_init()
138 out_be32(&lbc->mrtpr, 0x20000000); in dram_init()
/u-boot/board/ve8313/
A Dve8313.c97 volatile fsl_lbc_t *lbc = &im->im_lbc; in dram_init() local
107 out_be32(&lbc->lbcr, 0x00040000); in dram_init()
108 out_be32(&lbc->mrtpr, 0x20000000); in dram_init()
/u-boot/arch/powerpc/dts/
A Dp3041ds.dts83 lbc: localbus@ffe124000 { label
A Dp5040ds.dts106 lbc: localbus@ffe124000 { label
A Dgazerbeam.dts19 /include/ "gdsys/soc/lbc/gazerbeam.dtsi"
/u-boot/arch/powerpc/cpu/mpc85xx/
A Dcpu_init.c730 fsl_lbc_t *lbc = (void __iomem *)LBC_BASE_ADDR; in cpu_init_r() local
883 clrsetbits_be32(&lbc->lcrr, LCRR_CLKDIV, CONFIG_SYS_LBC_LCRR); in cpu_init_r()
884 __raw_readl(&lbc->lcrr); in cpu_init_r()

Completed in 19 milliseconds