Home
last modified time | relevance | path

Searched +full:physmap +full:- +full:flash (Results 1 – 25 of 32) sorted by relevance

12

/linux/drivers/mtd/maps/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
7 obj-$(CONFIG_MTD) += map_funcs.o
11 obj-$(CONFIG_MTD_CFI_FLAGADM) += cfi_flagadm.o
12 obj-$(CONFIG_MTD_DC21285) += dc21285.o
13 obj-$(CONFIG_MTD_L440GX) += l440gx.o
14 obj-$(CONFIG_MTD_AMD76XROM) += amd76xrom.o
15 obj-$(CONFIG_MTD_ESB2ROM) += esb2rom.o
16 obj-$(CONFIG_MTD_ICHXROM) += ichxrom.o
17 obj-$(CONFIG_MTD_CK804XROM) += ck804xrom.o
18 obj-$(CONFIG_MTD_TSUNAMI) += tsunami_flash.o
[all …]
H A Dphysmap-ixp4xx.c1 // SPDX-License-Identifier: GPL-2.0
3 * Intel IXP4xx OF physmap add-on
10 * Copyright (C) 2003-2004 MontaVista Software, Inc.
17 #include "physmap-ixp4xx.h"
20 * Read/write a 16 bit word from flash address 'addr'.
22 * When the cpu is in little-endian mode it swizzles the address lines
24 * and the like end up on the correct flash address.
27 * handles 32 bit reads, the byte stream ABCD is stored on the flash as:
29 * +---+---+
31 * +---+---+
[all …]
H A Dphysmap-versatile.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Versatile OF physmap driver add-on
17 #include "physmap-versatile.h"
30 .compatible = "arm,integrator-ap-syscon",
34 .compatible = "arm,integrator-cp-syscon",
38 .compatible = "arm,core-module-versatile",
42 .compatible = "arm,realview-eb-syscon",
46 .compatible = "arm,realview-pb1176-syscon",
50 .compatible = "arm,realview-pb11mp-syscon",
54 .compatible = "arm,realview-pba8-syscon",
[all …]
/linux/drivers/bcma/
H A Ddriver_chipcommon_pflash.c3 * ChipCommon parallel flash
11 #include <linux/mtd/physmap.h>
26 .name = "physmap-flash",
36 struct bcma_pflash *pflash = &cc->pflash; in bcma_pflash_init()
38 pflash->present = true; in bcma_pflash_init()
40 if (!(bcma_read32(cc->core, BCMA_CC_FLASH_CFG) & BCMA_CC_FLASH_CFG_DS)) in bcma_pflash_init()
/linux/arch/mips/bcm63xx/
H A Ddev-flash.c2 * Broadcom BCM63xx flash registration
18 #include <linux/mtd/physmap.h>
50 .name = "physmap-flash",
99 return -EINVAL; in bcm63xx_detect_flash_type()
121 pr_warn("unsupported serial flash detected\n"); in bcm63xx_flash_register()
122 return -ENODEV; in bcm63xx_flash_register()
124 pr_warn("unsupported NAND flash detected\n"); in bcm63xx_flash_register()
125 return -ENODEV; in bcm63xx_flash_register()
127 pr_err("flash detection failed for BCM%x: %d\n", in bcm63xx_flash_register()
129 return -ENODEV; in bcm63xx_flash_register()
/linux/arch/m68k/coldfire/
H A Dfirebee.c1 // SPDX-License-Identifier: GPL-2.0
5 * firebee.c -- extra startup code support for the FireBee boards
18 #include <linux/mtd/physmap.h>
25 * 8MB of NOR flash fitted to the FireBee board.
27 #define FLASH_PHYS_ADDR 0xe0000000 /* Physical address of flash */
28 #define FLASH_PHYS_SIZE 0x00800000 /* Size of flash */
30 #define PART_BOOT_START 0x00000000 /* Start at bottom of flash */
33 #define PART_IMAGE_SIZE 0x006c0000 /* Most of flash */
68 .name = "physmap-flash",
/linux/arch/sh/boards/
H A Dboard-espt.c1 // SPDX-License-Identifier: GPL-2.0
3 * Data Technology Inc. ESPT-GIGA board support
11 #include <linux/mtd/physmap.h>
18 /* NOR Flash */
21 .name = "U-Boot",
24 .mask_flags = MTD_WRITEABLE, /* Read-only */
26 .name = "Linux-Kernel",
44 .name = "NOR Flash",
46 .end = SZ_8M - 1,
52 .name = "physmap-flash",
[all …]
H A Dboard-edosk7760.c1 // SPDX-License-Identifier: GPL-2.0+
15 #include <linux/mtd/physmap.h>
20 #include <asm/i2c-sh7760.h>
31 /* NOR flash */
37 .mask_flags = MTD_WRITEABLE, /* Read-only */
61 .name = "NOR Flash",
63 .end = 0x00000000 + SZ_32M - 1,
69 .name = "physmap-flash",
135 .end = SMC_IOADDR + SZ_32 - 1,
147 .id = -1,
H A Dboard-apsh4a3a.c1 // SPDX-License-Identifier: GPL-2.0
3 * ALPHAPROJECT AP-SH4A-3A Support.
12 #include <linux/mtd/physmap.h>
54 .end = 0x01000000 - 1,
60 .name = "physmap-flash",
76 .name = "smsc911x-memory",
78 .end = 0xA4000000 + SZ_256 - 1,
82 .name = "smsc911x-irq",
98 .id = -1,
137 printk(KERN_INFO "Alpha Project AP-SH4A-3A support:\n"); in apsh4a3a_setup()
[all …]
/linux/arch/mips/cobalt/
H A Dmtd.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2006 Yoichi Yuasa <yuasa@linux-mips.org>
10 #include <linux/mtd/physmap.h>
33 .name = "physmap-flash",
/linux/arch/sh/boards/mach-rsk/
H A Dsetup.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2008 Peter Griffin <pgriffin@mpc-data.co.uk>
14 #include <linux/mtd/physmap.h>
57 .name = "physmap-flash",
58 .id = -1,
/linux/arch/sh/boards/mach-sh7763rdp/
H A Dsetup.c1 // SPDX-License-Identifier: GPL-2.0
14 #include <linux/mtd/physmap.h>
22 /* NOR Flash */
25 .name = "U-Boot",
28 .mask_flags = MTD_WRITEABLE, /* Read-only */
30 .name = "Linux-Kernel",
48 .name = "NOR Flash",
56 .name = "physmap-flash",
65 * SH-Ether
68 * (0x920,0x940,0x960 -> 0x920)
[all …]
/linux/Documentation/devicetree/bindings/mtd/
H A Dti,am654-hbmc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mtd/ti,am654-hbmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vignesh Raghavendra <vigneshr@ti.com>
14 const: ti,am654-hbmc
19 power-domains: true
20 '#address-cells': true
21 '#size-cells': true
24 mux-controls:
[all …]
/linux/arch/mips/ath25/
H A Dar5312.c9 * Copyright (C) 2006-2009 Felix Fietkau <nbd@openwrt.org>
24 #include <linux/mtd/physmap.h>
96 ar5312_rst_reg_mask(AR5312_IMR, 0, BIT(d->hwirq)); in ar5312_misc_irq_unmask()
102 ar5312_rst_reg_mask(AR5312_IMR, BIT(d->hwirq), 0); in ar5312_misc_irq_mask()
107 .name = "ar5312-misc",
152 if (request_irq(irq, ar5312_ahb_err_handler, 0, "ar5312-ahb-error", in ar5312_arch_init_irq()
154 pr_err("Failed to register ar5312-ahb-error interrupt\n"); in ar5312_arch_init_irq()
168 .end = AR5312_FLASH_BASE + AR5312_FLASH_SIZE - 1,
173 .name = "physmap-flash",
191 /* fixup flash width */ in ar5312_flash_init()
[all …]
/linux/include/linux/mtd/
H A Dphysmap.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * For boards with physically mapped flash and using
4 * drivers/mtd/maps/physmap.c mapping driver.
/linux/arch/arm/boot/dts/microchip/
H A Dsama5d3xcm.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module
14 stdout-path = "serial0:115200n8";
23 clock-frequency = <32768>;
27 clock-frequency = <12000000>;
34 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
39 compatible = "atmel,tcb-timer";
44 compatible = "atmel,tcb-timer";
51 pinctrl-0 = <&pinctrl_ebi_addr &pinctrl_ebi_cs0>;
52 pinctr-name = "default";
[all …]
/linux/drivers/ssb/
H A Ddriver_mipscore.c15 #include <linux/mtd/physmap.h>
36 .name = "physmap-flash",
47 return ssb_read32(mcore->dev, offset); in mips_read32()
54 ssb_write32(mcore->dev, offset, value); in mips_write32()
85 struct ssb_bus *bus = rdev->bus; in find_device()
87 for (i = 0; i < bus->nr_devices; i++) { in find_device()
89 dev = &(bus->devices[i]); in find_device()
103 struct ssb_bus *bus = dev->bus; in ssb_mips_irq()
104 struct ssb_device *mdev = bus->mipscore.dev; in ssb_mips_irq()
113 ipsflag = ssb_read32(bus->mipscore.dev, SSB_IPSFLAG); in ssb_mips_irq()
[all …]
/linux/arch/sh/boards/mach-se/7343/
H A Dsetup.c1 // SPDX-License-Identifier: GPL-2.0
4 #include <linux/mtd/physmap.h>
11 #include <mach-se/mach/se7343.h>
24 .id = -1,
62 .name = "physmap-flash",
130 .name = "isp116x-hcd",
131 .id = -1,
149 /* Wire-up dynamic vectors */ in sh7343se_devices_setup()
/linux/arch/arm/mach-omap1/
H A Dboard-palmte.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-palmte.c
5 * Modified from board-generic.c
12 * palmtelinux-developpers@lists.sf.net
24 #include <linux/mtd/physmap.h>
27 #include <linux/apm-emulation.h>
29 #include <linux/omap-dma.h>
30 #include <linux/platform_data/keypad-omap.h>
33 #include <asm/mach-types.h>
38 #include "flash.h"
[all …]
H A Dboard-osk.c2 * linux/arch/arm/mach-omap1/board-osk.c
42 #include <linux/mtd/physmap.h>
44 #include <linux/platform_data/gpio-omap.h>
46 #include <linux/soc/ti/omap1-io.h>
48 #include <asm/mach-types.h>
53 #include "flash.h"
60 #define OMAP_GPIO_LABEL "gpio-0-15"
66 * alternate pin configurations for hardware-controlled blinking.
76 /* bootloader (U-Boot, etc) in first sector */
81 .mask_flags = MTD_WRITEABLE, /* force read-only */
[all …]
H A Dboard-sx1.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-sx1.c
5 * Modified from board-generic.c
9 * Original version : Vladimir Ananiev (Vovan888-at-gmail com)
23 #include <linux/mtd/physmap.h>
29 #include <linux/platform_data/keypad-omap.h>
30 #include <linux/omap-dma.h>
33 #include <asm/mach-types.h>
37 #include "flash.h"
39 #include "board-sx1.h"
[all …]
/linux/drivers/mtd/parsers/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
19 tristate "Broadcom's U-Boot partition parser"
22 Broadcom uses a custom way of storing U-Boot environment variables.
23 They are placed inside U-Boot partition itself at unspecified offset.
33 command line. Multiple flash resources are supported for hardware where
34 different kinds of flash memory are available.
44 <mtddef> := <mtd-id>:<partdef>[,<partdef>]
46 <mtd-id> := unique id used in mapping driver/device
47 <size> := standard linux memsize OR "-" to denote all
57 1 flash resource (mtd-id "sa1100"), with 1 single writable partition:
[all …]
/linux/arch/sh/configs/
H A Dpolaris_defconfig28 …e=ttySC1,115200 root=/dev/mtdblock2 rootfstype=jffs2 mem=63M mtdparts=physmap-flash.0:0x00100000(b…
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx31-lite.dts1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (C) 2016-2018 Vladimir Zapolskiy <vz@mleia.com>
5 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
14 compatible = "logicpd,imx31-lite", "fsl,imx31";
17 stdout-path = &uart1;
26 compatible = "gpio-leds";
43 nand-bus-width = <8>;
44 nand-ecc-mode = "hw";
[all …]
/linux/fs/cramfs/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
8 file system for ROM based embedded systems. CramFs is read-only,
41 a linear addressed memory range (usually non-volatile memory
42 like flash) instead of going through the block device layer.
48 the 'physmap' map driver or a resulting MTD partition.
52 mount -t cramfs mtd:xip_fs /mnt

12