/u-boot/drivers/mtd/spi/ |
A D | spi-nor-tiny.c | 68 nor->spi->bus, nor->spi->cs, ret, code); in spi_nor_read_reg() 151 return spi_nor_write_reg(nor, SPINOR_OP_WRSR, nor->cmd_buf, 1); in write_sr() 206 nor->read_opcode = spi_nor_convert_3to4_read(nor->read_opcode); in spi_nor_set_4byte_opcodes() 251 return spi_nor_write_reg(nor, SPINOR_OP_BRWR, nor->cmd_buf, 1); in set_4byte() 322 fsr = nor->flags & SNOR_F_USE_FSR ? spi_nor_fsr_ready(nor) : 1; in spi_nor_ready() 456 write_enable(nor); in macronix_quad_enable() 485 write_enable(nor); in write_sr_cr() 489 dev_dbg(nor->dev, in write_sr_cr() 719 set_4byte(nor, nor->info, 1); in spi_nor_init() 754 mtd->priv = nor; in spi_nor_scan() [all …]
|
A D | spi-nor-core.c | 212 return nor->write_reg(nor, SPINOR_OP_WRSR, nor->cmd_buf, 1); in write_sr() 338 status = nor->write_reg(nor, cmd, NULL, 0); in set_4byte() 352 nor->write_reg(nor, SPINOR_OP_WREAR, nor->cmd_buf, 1); in set_4byte() 360 return nor->write_reg(nor, SPINOR_OP_BRWR, nor->cmd_buf, 1); in set_4byte() 487 ret = nor->write_reg(nor, cmd, &bank_sel, 1); in write_bar() 513 ret = nor->read_reg(nor, nor->bank_read_cmd, in read_bar() 537 return nor->erase(nor, addr); in spi_nor_erase_sector() 938 ret = nor->read(nor, addr, read_len, buf); in spi_nor_read() 1180 ret = nor->write(nor, to, 1, buf); in sst_write() 2460 err = nor->quad_enable(nor); in spi_nor_init() [all …]
|
A D | Makefile | 7 spi-nor-y := sf_probe.o spi-nor-ids.o 12 spi-nor-y += spi-nor-tiny.o 14 spi-nor-y += spi-nor-core.o 17 spi-nor-y += spi-nor-core.o 20 obj-$(CONFIG_SPI_FLASH) += spi-nor.o
|
/u-boot/include/linux/mtd/ |
A D | spi-nor.h | 333 int (*prepare)(struct spi_nor *nor, enum spi_nor_ops ops); 334 void (*unprepare)(struct spi_nor *nor, enum spi_nor_ops ops); 338 ssize_t (*read)(struct spi_nor *nor, loff_t from, 340 ssize_t (*write)(struct spi_nor *nor, loff_t to, 342 int (*erase)(struct spi_nor *nor, loff_t offs); 347 int (*quad_enable)(struct spi_nor *nor); 358 static inline void spi_nor_set_flash_node(struct spi_nor *nor, in spi_nor_set_flash_node() argument 361 mtd_set_of_node(&nor->mtd, np); in spi_nor_set_flash_node() 365 device_node *spi_nor_get_flash_node(struct spi_nor *nor) in spi_nor_get_flash_node() argument 367 return mtd_get_of_node(&nor->mtd); in spi_nor_get_flash_node() [all …]
|
/u-boot/board/st/common/ |
A D | stm32mp_mtdparts.c | 73 bool tee, nor, nand, spinand, serial; in board_mtdparts_default() local 82 nor = false; in board_mtdparts_default() 93 nor = stm32prog_get_fsbl_nor(); in board_mtdparts_default() 105 nor = true; in board_mtdparts_default() 131 !nor && tee ? mtd_tee : NULL, in board_mtdparts_default() 143 !nor && tee ? mtd_tee : NULL, in board_mtdparts_default() 149 if (nor) { in board_mtdparts_default()
|
/u-boot/configs/ |
A D | mccmon6_nor_defconfig | 44 CONFIG_MTDIDS_DEFAULT="nor0=8000000.nor" 45 …nor:32m@0x0(mccmon6-image.nor),256k@0x40000(u-boot-env.nor),1m@0x80000(u-boot.nor),8m@0x180000(ker…
|
A D | mccmon6_sd_defconfig | 42 CONFIG_MTDIDS_DEFAULT="nor0=8000000.nor" 43 …nor:32m@0x0(mccmon6-image.nor),256k@0x40000(u-boot-env.nor),1m@0x80000(u-boot.nor),8m@0x180000(ker…
|
/u-boot/board/atmel/common/ |
A D | mac-spi-nor.c | 103 struct spi_nor *nor; in at91_spi_nor_set_ethaddr() local 113 nor = dev_get_uclass_priv(dev); in at91_spi_nor_set_ethaddr() 114 if (!nor) in at91_spi_nor_set_ethaddr() 117 if (!nor->manufacturer_sfdp) in at91_spi_nor_set_ethaddr() 121 if (sst26vf064beui_get_ethaddr(nor->manufacturer_sfdp, ethaddr, in at91_spi_nor_set_ethaddr()
|
A D | Makefile | 8 obj-$(CONFIG_SPI_FLASH_SFDP_SUPPORT) += mac-spi-nor.o
|
/u-boot/arch/arm/mach-orion5x/ |
A D | u-boot-spl.lds | 19 MEMORY { .nor : ORIGIN = IMAGE_TEXT_BASE,\ 35 } > .nor 38 .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.nor 41 .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.nor 46 } > .nor
|
/u-boot/arch/arm/dts/ |
A D | fsl-ls1046a-qds.dtsi | 27 compatible = "jedec,spi-nor"; 37 compatible = "jedec,spi-nor"; 47 compatible = "jedec,spi-nor"; 61 compatible = "jedec,spi-nor";
|
A D | fsl-ls2080a-qds.dtsi | 37 compatible = "jedec,spi-nor"; 46 compatible = "jedec,spi-nor"; 55 compatible = "jedec,spi-nor"; 69 compatible = "jedec,spi-nor";
|
A D | imx6sx-sabreauto-u-boot.dtsi | 10 compatible = "jedec,spi-nor"; 14 compatible = "jedec,spi-nor";
|
A D | fsl-ls1012a-qds.dtsi | 23 compatible = "jedec,spi-nor"; 31 compatible = "jedec,spi-nor"; 39 compatible = "jedec,spi-nor"; 51 compatible = "jedec,spi-nor";
|
A D | fsl-ls2081a-rdb.dts | 31 compatible = "jedec,spi-nor"; 46 compatible = "jedec,spi-nor"; 54 compatible = "jedec,spi-nor";
|
A D | fsl-ls1088a-qds.dtsi | 107 nor@0,0 { 142 compatible = "jedec,spi-nor"; 150 compatible = "jedec,spi-nor"; 158 compatible = "jedec,spi-nor"; 170 compatible = "jedec,spi-nor"; 178 compatible = "jedec,spi-nor";
|
A D | fsl-ls1043a-qds.dtsi | 27 compatible = "jedec,spi-nor"; 37 compatible = "jedec,spi-nor"; 47 compatible = "jedec,spi-nor"; 61 compatible = "jedec,spi-nor"; 138 nor@0,0 {
|
A D | ls1021a-iot.dtsi | 30 compatible = "jedec,spi-nor"; 43 compatible = "jedec,spi-nor"; 66 nor@0,0 {
|
A D | socfpga_cyclone5_vining_fpga-u-boot.dtsi | 30 compatible = "n25q128", "jedec,spi-nor"; 34 compatible = "n25q00", "jedec,spi-nor";
|
A D | ls1021a-twr.dtsi | 32 compatible = "jedec,spi-nor"; 45 compatible = "jedec,spi-nor"; 88 nor@0,0 {
|
A D | stv0991.dts | 29 compatible = "cdns,qspi-nor"; 43 compatible = "jedec,spi-nor";
|
A D | imx6ul-9x9-evk-u-boot.dtsi | 8 compatible = "jedec,spi-nor";
|
A D | imx7d-sdb-qspi-u-boot.dtsi | 8 compatible = "jedec,spi-nor";
|
/u-boot/arch/powerpc/dts/ |
A D | t2080qds.dts | 29 compatible = "micron,n25q128a11", "jedec,spi-nor"; /* 16MB */ 37 compatible = "sst,sst25wf040", "jedec,spi-nor"; 45 compatible = "eon,en25s64", "jedec,spi-nor";
|
/u-boot/board/liebherr/mccmon6/ |
A D | mon6_imximage_nor.cfg | 8 BOOT_FROM nor
|