Home
last modified time | relevance | path

Searched refs:gpmc_cfg (Results 1 – 17 of 17) sorted by relevance

/external/u-boot/arch/arm/mach-omap2/omap3/
Dspl_id_nand.c38 writeb(NAND_CMD_RESET, &gpmc_cfg->cs[0].nand_cmd); in identify_nand_chip()
39 writeb(NAND_CMD_STATUS, &gpmc_cfg->cs[0].nand_cmd); in identify_nand_chip()
40 while ((readl(&gpmc_cfg->cs[0].nand_dat) & NAND_STATUS_READY) in identify_nand_chip()
46 writeb(NAND_CMD_READID, &gpmc_cfg->cs[0].nand_cmd); in identify_nand_chip()
49 writeb(0x0, &gpmc_cfg->cs[0].nand_adr); in identify_nand_chip()
52 *mfr = readb(&gpmc_cfg->cs[0].nand_dat); in identify_nand_chip()
53 *id = readb(&gpmc_cfg->cs[0].nand_dat); in identify_nand_chip()
Dsys_info.c156 b = readl(&gpmc_cfg->cs[0].config7); in get_gpmc0_base()
/external/u-boot/arch/arm/mach-omap2/
Dmem-common.c24 const struct gpmc *gpmc_cfg = (struct gpmc *)GPMC_BASE; variable
147 writel(0, &gpmc_cfg->cs[0].config7); in set_gpmc_cs0()
153 enable_gpmc_cs_config(gpmc_regs, &gpmc_cfg->cs[0], base, size); in set_gpmc_cs0()
164 writel(0x00000008, &gpmc_cfg->sysconfig); in gpmc_init()
165 writel(0x00000000, &gpmc_cfg->irqstatus); in gpmc_init()
166 writel(0x00000000, &gpmc_cfg->irqenable); in gpmc_init()
168 writel(0x00001ff0, &gpmc_cfg->timeout_control); in gpmc_init()
170 0x00000200 : 0x00000012, &gpmc_cfg->config); in gpmc_init()
/external/u-boot/drivers/mtd/nand/
Domap_gpmc.c70 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_cmd; in omap_nand_hwcontrol()
73 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_adr; in omap_nand_hwcontrol()
76 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_dat; in omap_nand_hwcontrol()
89 return gpmc_cfg->status & (1 << (8 + info->ws)); in omap_dev_ready()
231 writel(ECCCLEAR | ECCRESULTREG1, &gpmc_cfg->ecc_control); in omap_enable_hwecc()
234 writel(ecc_size_config_val, &gpmc_cfg->ecc_size_config); in omap_enable_hwecc()
244 writel(ecc_config_val, &gpmc_cfg->ecc_config); in omap_enable_hwecc()
272 val = readl(&gpmc_cfg->ecc1_result); in omap_calculate_ecc()
281 ptr = &gpmc_cfg->bch_result_0_3[0].bch_result_x[3]; in omap_calculate_ecc()
295 val = readl(&gpmc_cfg->bch_result_4_6[0].bch_result_x[2]); in omap_calculate_ecc()
[all …]
/external/u-boot/board/ti/evm/
Devm.c251 writel(NET_GPMC_CONFIG1, &gpmc_cfg->cs[5].config1); in setup_net_chip()
252 writel(NET_GPMC_CONFIG2, &gpmc_cfg->cs[5].config2); in setup_net_chip()
253 writel(NET_GPMC_CONFIG3, &gpmc_cfg->cs[5].config3); in setup_net_chip()
254 writel(NET_GPMC_CONFIG4, &gpmc_cfg->cs[5].config4); in setup_net_chip()
255 writel(NET_GPMC_CONFIG5, &gpmc_cfg->cs[5].config5); in setup_net_chip()
256 writel(NET_GPMC_CONFIG6, &gpmc_cfg->cs[5].config6); in setup_net_chip()
257 writel(NET_GPMC_CONFIG7, &gpmc_cfg->cs[5].config7); in setup_net_chip()
/external/u-boot/board/technexion/twister/
Dtwister.c73 enable_gpmc_cs_config(gpmc_XR16L2751, &gpmc_cfg->cs[1], in board_init()
76 enable_gpmc_cs_config(gpmc_XR16L2751, &gpmc_cfg->cs[3], in board_init()
123 enable_gpmc_cs_config(gpmc_smc911, &gpmc_cfg->cs[5], in board_eth_init()
147 enable_gpmc_cs_config(gpmc_smc911, &gpmc_cfg->cs[5], in spl_board_prepare_for_linux()
/external/u-boot/board/isee/igep00x0/
Dcommon.c39 writeb(NAND_CMD_RESET, &gpmc_cfg->cs[0].nand_cmd); in board_init()
40 writeb(NAND_CMD_STATUS, &gpmc_cfg->cs[0].nand_cmd); in board_init()
41 while ((readl(&gpmc_cfg->cs[0].nand_dat) & NAND_STATUS_READY) in board_init()
Digep00x0.c116 enable_gpmc_cs_config(gpmc_lan_config, &gpmc_cfg->cs[5], in setup_net_chip()
/external/u-boot/board/timll/devkit8000/
Ddevkit8000.c78 enable_gpmc_cs_config(gpmc_net_config, &gpmc_cfg->cs[6], in gpmc_dm9000_config()
101 enable_gpmc_cs_config(gpmc_net_config, &gpmc_cfg->cs[6], in misc_init_r()
/external/u-boot/board/overo/
Dovero.c353 enable_gpmc_cs_config(gpmc_lan_config, &gpmc_cfg->cs[4], in board_eth_init()
362 enable_gpmc_cs_config(gpmc_lan_config, &gpmc_cfg->cs[5], in board_eth_init()
/external/u-boot/board/logicpd/zoom1/
Dzoom1.c67 enable_gpmc_cs_config(gpmc_lab_enet, &gpmc_cfg->cs[1], in board_init()
/external/u-boot/board/compulab/common/
Domap3_smc911x.c35 &gpmc_cfg->cs[cs], base_addr, GPMC_SIZE_16M); in cl_omap3_smc911x_setup_net_chip_gmpc()
/external/u-boot/include/linux/mtd/
Domap_gpmc.h94 extern const struct gpmc *gpmc_cfg;
/external/u-boot/board/logicpd/omap3som/
Domap3logic.c329 enable_gpmc_cs_config(gpmc_lan92xx_config, &gpmc_cfg->cs[1], in board_eth_init()
/external/u-boot/board/gumstix/duovero/
Dduovero.c185 enable_gpmc_net_config(gpmc_lan_config, &gpmc_cfg->cs[5], 0x2C000000, in setup_net_chip()
/external/u-boot/board/teejet/mt_ventoux/
Dmt_ventoux.c211 enable_gpmc_cs_config(gpmc_fpga, &gpmc_cfg->cs[1], in mt_ventoux_init_fpga()
/external/u-boot/board/siemens/draco/
Dboard.c378 enable_gpmc_cs_config(gpmc_nand_config, &gpmc_cfg->cs[1], in board_nand_cs_init()