| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/omap3/ |
| H A D | spl_id_nand.c | 39 writeb(NAND_CMD_RESET, &gpmc_cfg->cs[0].nand_cmd); in identify_nand_chip() 40 writeb(NAND_CMD_STATUS, &gpmc_cfg->cs[0].nand_cmd); in identify_nand_chip() 41 while ((readl(&gpmc_cfg->cs[0].nand_dat) & NAND_STATUS_READY) in identify_nand_chip() 47 writeb(NAND_CMD_READID, &gpmc_cfg->cs[0].nand_cmd); in identify_nand_chip() 50 writeb(0x0, &gpmc_cfg->cs[0].nand_adr); in identify_nand_chip() 53 *mfr = readb(&gpmc_cfg->cs[0].nand_dat); in identify_nand_chip() 54 *id = readb(&gpmc_cfg->cs[0].nand_dat); in identify_nand_chip()
|
| H A D | sys_info.c | 157 b = readl(&gpmc_cfg->cs[0].config7); in get_gpmc0_base()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/ |
| H A D | mem-common.c | 25 const struct gpmc *gpmc_cfg = (struct gpmc *)GPMC_BASE; variable 148 writel(0, &gpmc_cfg->cs[0].config7); in set_gpmc_cs0() 154 enable_gpmc_cs_config(gpmc_regs, &gpmc_cfg->cs[0], base, size); in set_gpmc_cs0() 165 writel(0x00000008, &gpmc_cfg->sysconfig); in gpmc_init() 166 writel(0x00000000, &gpmc_cfg->irqstatus); in gpmc_init() 167 writel(0x00000000, &gpmc_cfg->irqenable); in gpmc_init() 169 writel(0x00001ff0, &gpmc_cfg->timeout_control); in gpmc_init() 171 0x00000200 : 0x00000012, &gpmc_cfg->config); in gpmc_init()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | omap_gpmc.c | 71 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_cmd; in omap_nand_hwcontrol() 74 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_adr; in omap_nand_hwcontrol() 77 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_dat; in omap_nand_hwcontrol() 90 return gpmc_cfg->status & (1 << (8 + info->ws)); in omap_dev_ready() 232 writel(ECCCLEAR | ECCRESULTREG1, &gpmc_cfg->ecc_control); in omap_enable_hwecc() 235 writel(ecc_size_config_val, &gpmc_cfg->ecc_size_config); in omap_enable_hwecc() 245 writel(ecc_config_val, &gpmc_cfg->ecc_config); in omap_enable_hwecc() 273 val = readl(&gpmc_cfg->ecc1_result); in omap_calculate_ecc() 282 ptr = &gpmc_cfg->bch_result_0_3[0].bch_result_x[3]; in omap_calculate_ecc() 296 val = readl(&gpmc_cfg->bch_result_4_6[0].bch_result_x[2]); in omap_calculate_ecc() [all …]
|
| /OK3568_Linux_fs/u-boot/board/ti/evm/ |
| H A D | evm.c | 252 writel(NET_GPMC_CONFIG1, &gpmc_cfg->cs[5].config1); in setup_net_chip() 253 writel(NET_GPMC_CONFIG2, &gpmc_cfg->cs[5].config2); in setup_net_chip() 254 writel(NET_GPMC_CONFIG3, &gpmc_cfg->cs[5].config3); in setup_net_chip() 255 writel(NET_GPMC_CONFIG4, &gpmc_cfg->cs[5].config4); in setup_net_chip() 256 writel(NET_GPMC_CONFIG5, &gpmc_cfg->cs[5].config5); in setup_net_chip() 257 writel(NET_GPMC_CONFIG6, &gpmc_cfg->cs[5].config6); in setup_net_chip() 258 writel(NET_GPMC_CONFIG7, &gpmc_cfg->cs[5].config7); in setup_net_chip()
|
| /OK3568_Linux_fs/u-boot/board/technexion/twister/ |
| H A D | twister.c | 76 enable_gpmc_cs_config(gpmc_XR16L2751, &gpmc_cfg->cs[1], in board_init() 79 enable_gpmc_cs_config(gpmc_XR16L2751, &gpmc_cfg->cs[3], in board_init() 125 enable_gpmc_cs_config(gpmc_smc911, &gpmc_cfg->cs[5], in board_eth_init() 149 enable_gpmc_cs_config(gpmc_smc911, &gpmc_cfg->cs[5], in spl_board_prepare_for_linux()
|
| /OK3568_Linux_fs/u-boot/board/isee/igep00x0/ |
| H A D | common.c | 40 writeb(NAND_CMD_RESET, &gpmc_cfg->cs[0].nand_cmd); in board_init() 41 writeb(NAND_CMD_STATUS, &gpmc_cfg->cs[0].nand_cmd); in board_init() 42 while ((readl(&gpmc_cfg->cs[0].nand_dat) & NAND_STATUS_READY) in board_init()
|
| H A D | igep00x0.c | 117 enable_gpmc_cs_config(gpmc_lan_config, &gpmc_cfg->cs[5], in setup_net_chip()
|
| /OK3568_Linux_fs/u-boot/board/timll/devkit8000/ |
| H A D | devkit8000.c | 78 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()
|
| /OK3568_Linux_fs/u-boot/board/overo/ |
| H A D | overo.c | 356 enable_gpmc_cs_config(gpmc_lan_config, &gpmc_cfg->cs[4], in board_eth_init() 365 enable_gpmc_cs_config(gpmc_lan_config, &gpmc_cfg->cs[5], in board_eth_init()
|
| /OK3568_Linux_fs/u-boot/board/logicpd/zoom1/ |
| H A D | zoom1.c | 67 enable_gpmc_cs_config(gpmc_lab_enet, &gpmc_cfg->cs[1], in board_init()
|
| /OK3568_Linux_fs/u-boot/board/compulab/common/ |
| H A D | omap3_smc911x.c | 36 &gpmc_cfg->cs[cs], base_addr, GPMC_SIZE_16M); in cl_omap3_smc911x_setup_net_chip_gmpc()
|
| /OK3568_Linux_fs/u-boot/include/linux/mtd/ |
| H A D | omap_gpmc.h | 95 extern const struct gpmc *gpmc_cfg;
|
| /OK3568_Linux_fs/u-boot/board/gumstix/duovero/ |
| H A D | duovero.c | 186 enable_gpmc_net_config(gpmc_lan_config, &gpmc_cfg->cs[5], 0x2C000000, in setup_net_chip()
|
| /OK3568_Linux_fs/u-boot/board/teejet/mt_ventoux/ |
| H A D | mt_ventoux.c | 212 enable_gpmc_cs_config(gpmc_fpga, &gpmc_cfg->cs[1], in mt_ventoux_init_fpga()
|
| /OK3568_Linux_fs/u-boot/board/siemens/draco/ |
| H A D | board.c | 381 enable_gpmc_cs_config(gpmc_nand_config, &gpmc_cfg->cs[1], in board_nand_cs_init()
|
| /OK3568_Linux_fs/u-boot/board/logicpd/omap3som/ |
| H A D | omap3logic.c | 259 enable_gpmc_cs_config(gpmc_lan92xx_config, &gpmc_cfg->cs[1], in board_eth_init()
|