/openbmc/u-boot/drivers/mtd/onenand/ |
H A D | samsung.c | 67 static struct s3c_onenand *onenand; variable 134 return readl(&onenand->reg->tech); in s3c_onenand_readw() 192 onenand->bootram_command = 1; in s3c_onenand_writew() 197 &onenand->reg->mem_reset); in s3c_onenand_writew() 198 onenand->bootram_command = 0; in s3c_onenand_writew() 534 if (!onenand) in s3c_onenand_init() 538 if (!onenand->page_buf) in s3c_onenand_init() 543 if (!onenand->oob_buf) in s3c_onenand_init() 547 onenand->mtd = mtd; in s3c_onenand_init() 553 onenand->mem_addr = s3c_mem_addr; in s3c_onenand_init() [all …]
|
/openbmc/linux/drivers/mtd/nand/onenand/ |
H A D | onenand_samsung.c | 409 m = onenand->page_buf; in s3c_onenand_command() 410 s = onenand->oob_buf; in s3c_onenand_command() 482 p = onenand->page_buf; in s3c_get_bufferram() 486 p = onenand->oob_buf; in s3c_get_bufferram() 805 onenand->mtd = mtd; in s3c_onenand_setup() 852 if (!onenand) in s3c_onenand_probe() 858 onenand->pdev = pdev; in s3c_onenand_probe() 864 if (IS_ERR(onenand->base)) in s3c_onenand_probe() 883 if (!onenand->page_buf) in s3c_onenand_probe() 888 if (!onenand->oob_buf) in s3c_onenand_probe() [all …]
|
H A D | generic.c | 29 struct onenand_chip onenand; member 49 info->onenand.base = ioremap(res->start, size); in generic_onenand_probe() 50 if (!info->onenand.base) { in generic_onenand_probe() 55 info->onenand.mmcontrol = pdata ? pdata->mmcontrol : NULL; in generic_onenand_probe() 61 info->onenand.irq = err; in generic_onenand_probe() 64 info->mtd.priv = &info->onenand; in generic_onenand_probe() 79 iounmap(info->onenand.base); in generic_onenand_probe() 97 iounmap(info->onenand.base); in generic_onenand_remove()
|
H A D | onenand_omap2.c | 39 struct onenand_chip onenand; member 61 return readw(c->onenand.base + reg); in read_reg() 67 writew(value, c->onenand.base + reg); in write_reg() 485 if (IS_ERR(c->onenand.base)) in omap2_onenand_probe() 486 return PTR_ERR(c->onenand.base); in omap2_onenand_probe() 502 c->onenand.wait = omap2_onenand_wait; in omap2_onenand_probe() 510 c->onenand.read_bufferram = omap2_onenand_read_bufferram; in omap2_onenand_probe() 511 c->onenand.write_bufferram = omap2_onenand_write_bufferram; in omap2_onenand_probe() 515 c->mtd.priv = &c->onenand; in omap2_onenand_probe() 520 c->gpmc_cs, c->phys_base, c->onenand.base, in omap2_onenand_probe() [all …]
|
H A D | Makefile | 7 obj-$(CONFIG_MTD_ONENAND) += onenand.o 14 onenand-objs = onenand_base.o onenand_bbt.o
|
/openbmc/u-boot/board/samsung/smdkc100/ |
H A D | onenand.c | 23 struct samsung_onenand *onenand; in onenand_board_init() local 27 onenand = (struct samsung_onenand *)this->base; in onenand_board_init() 45 writel(ONENAND_MEM_RESET_COLD, &onenand->mem_reset); in onenand_board_init() 47 while (!(readl(&onenand->int_err_stat) & RST_CMP)) in onenand_board_init() 50 writel(RST_CMP, &onenand->int_err_ack); in onenand_board_init() 57 writel(0x3, &onenand->acc_clock); in onenand_board_init() 59 writel(INT_ERR_ALL, &onenand->int_err_mask); in onenand_board_init() 60 writel(1 << 0, &onenand->int_pin_en); /* Enable */ in onenand_board_init() 62 value = readl(&onenand->int_err_mask); in onenand_board_init() 64 writel(value, &onenand->int_err_mask); in onenand_board_init()
|
H A D | Makefile | 10 obj-$(CONFIG_SAMSUNG_ONENAND) += onenand.o
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A D | ti,gpmc-onenand.yaml | 4 $id: http://devicetree.org/schemas/mtd/ti,gpmc-onenand.yaml# 19 pattern: "^onenand@[0-9],[0,9]$" 22 const: ti,omap2-onenand 68 onenand@0,0 { 69 compatible = "ti,omap2-onenand";
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3430-sdp.dts | 150 onenand@2,0 { 154 compatible = "ti,omap2-onenand"; 175 label = "xloader-onenand"; 179 label = "bootloader-onenand"; 183 label = "params-onenand"; 187 label = "kernel-onenand"; 191 label = "filesystem-onenand";
|
H A D | omap2420-n8x0-common.dtsi | 52 onenand@0,0 { 55 compatible = "ti,omap2-onenand"; 107 label = "omap2-onenand";
|
H A D | omap3-gta04a5one.dts | 50 onenand@0,0 { 54 compatible = "ti,omap2-onenand";
|
/openbmc/u-boot/configs/ |
H A D | smdkc100_defconfig | 9 ….mtd=4 rootfstype=cramfs console=ttySAC0,115200n8 mem=128M mtdparts=s3c-onenand:256k(bootloader),… 19 CONFIG_MTDIDS_DEFAULT="onenand0=s3c-onenand" 20 CONFIG_MTDPARTS_DEFAULT="mtdparts=s3c-onenand:256k(bootloader),128k@0x40000(params),3m@0x60000(kern…
|
H A D | vct_platinumavc_onenand_defconfig | 17 CONFIG_MTDIDS_DEFAULT="onenand0=onenand" 18 CONFIG_MTDPARTS_DEFAULT="mtdparts=onenand:128k(u-boot),128k(env),20m(kernel),-(rootfs)"
|
H A D | vct_platinum_onenand_defconfig | 21 CONFIG_MTDIDS_DEFAULT="onenand0=onenand" 22 CONFIG_MTDPARTS_DEFAULT="mtdparts=onenand:128k(u-boot),128k(env),20m(kernel),-(rootfs)"
|
H A D | vct_premium_onenand_defconfig | 21 CONFIG_MTDIDS_DEFAULT="onenand0=onenand" 22 CONFIG_MTDPARTS_DEFAULT="mtdparts=onenand:128k(u-boot),128k(env),20m(kernel),-(rootfs)"
|
H A D | vct_premium_onenand_small_defconfig | 25 CONFIG_MTDIDS_DEFAULT="onenand0=onenand" 26 CONFIG_MTDPARTS_DEFAULT="mtdparts=onenand:128k(u-boot),128k(env),20m(kernel),-(rootfs)"
|
H A D | vct_platinumavc_onenand_small_defconfig | 25 CONFIG_MTDIDS_DEFAULT="onenand0=onenand" 26 CONFIG_MTDPARTS_DEFAULT="mtdparts=onenand:128k(u-boot),128k(env),20m(kernel),-(rootfs)"
|
H A D | vct_platinum_onenand_small_defconfig | 25 CONFIG_MTDIDS_DEFAULT="onenand0=onenand" 26 CONFIG_MTDPARTS_DEFAULT="mtdparts=onenand:128k(u-boot),128k(env),20m(kernel),-(rootfs)"
|
/openbmc/u-boot/board/samsung/universal_c210/ |
H A D | Makefile | 6 obj-y := universal.o onenand.o
|
/openbmc/u-boot/board/samsung/goni/ |
H A D | Makefile | 9 obj-y := goni.o onenand.o
|
/openbmc/linux/drivers/mtd/nand/ |
H A D | Makefile | 7 obj-y += onenand/
|
/openbmc/u-boot/board/toradex/apalis_imx6/ |
H A D | apalis_imx6q.cfg | 17 * spi, sd (the board has no nand neither onenand)
|
/openbmc/u-boot/board/boundary/nitrogen6x/ |
H A D | nitrogen6q.cfg | 16 * spi, sd (the board has no nand neither onenand)
|
H A D | nitrogen6s1g.cfg | 16 * spi, sd (the board has no nand neither onenand)
|
H A D | nitrogen6s.cfg | 16 * spi, sd (the board has no nand neither onenand)
|