Home
last modified time | relevance | path

Searched +full:mtd +full:- +full:ram (Results 1 – 25 of 813) sorted by relevance

12345678910>>...33

/OK3568_Linux_fs/kernel/drivers/mtd/maps/
H A Dplat-ram.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* drivers/mtd/maps/plat-ram.c
4 * (c) 2004-2005 Simtec Electronics
8 * Generic platform device based RAM map
20 #include <linux/mtd/mtd.h>
21 #include <linux/mtd/map.h>
22 #include <linux/mtd/partitions.h>
23 #include <linux/mtd/plat-ram.h>
27 /* private structure for each mtd platform ram device created */
31 struct mtd_info *mtd; member
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 depends on MTD!=n
7 bool "Support non-linear mappings of flash chips"
21 with config options or at run-time.
74 and RAM driver code to communicate with chips which are mapped
79 bool "Baikal-T1 Boot ROMs OF-based physical memory map handling"
86 This provides some extra DT physmap parsing for the Baikal-T1
87 platforms, some detection and setting up ROMs-specific accessors.
90 bool "ARM Versatile OF-based physical memory map handling"
100 bool "Cortina Gemini OF-based physical memory map handling"
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/chips/
H A Dmap_ram.c2 * Common code to handle map devices which are simple RAM
14 #include <linux/mtd/mtd.h>
15 #include <linux/mtd/map.h>
23 static int mapram_point (struct mtd_info *mtd, loff_t from, size_t len,
25 static int mapram_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
36 struct mtd_info *mtd; in map_ram_probe() local
38 /* Check the first byte is RAM */ in map_ram_probe()
48 /* Check the last byte is RAM */ in map_ram_probe()
49 map_write8(map, 0x55, map->size-1); in map_ram_probe()
50 if (map_read8(map, map->size-1) != 0x55) in map_ram_probe()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "RAM/ROM/Flash chip drivers"
3 depends on MTD!=n
13 support any device that is CFI-compliant, you need to enable this
18 tristate "Detect non-CFI AMD/JEDEC-compatible flash chips"
22 This option enables JEDEC-style probing of flash chips which are not
24 CFI-targeted flash drivers for any chips which are identified which
26 covers most AMD/Fujitsu-compatible chips and also non-CFI
53 are expected to be wired to the CPU in 'host-endian' form.
85 bool "Support 8-bit buswidth" if MTD_CFI_GEOMETRY
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/devices/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "Self-contained MTD device drivers"
3 depends on MTD!=n
7 tristate "Ramix PMC551 PCI Mezzanine RAM card support"
10 This provides a MTD device driver for the Ramix PMC551 RAM PCI card
12 These devices come in memory configurations from 32M - 1G. If you
41 tristate "DEC MS02-NV NVRAM module support"
44 This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery
45 backed-up NVRAM module. The module was originally meant as an NFS
52 The module will be called ms02-nv.
[all …]
H A Dpmc551.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * PMC551 PCI Mezzanine Ram Device
10 * This driver is intended to support the PMC551 PCI Ram device
15 * implements this PCI Ram device as an MTD (Memory Technology
28 * of ram configured (making a grand total of 256MiB onboard).
34 * the ram will cause the driver to detect the onboard memory
49 * Most of the MTD code for this driver was originally written
50 * for the slram.o module in the MTD drivers package which
51 * allows the mapping of system memory into an MTD device.
93 #include <linux/mtd/mtd.h>
[all …]
H A Dmchp23k256.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Driver for Microchip 23k256 SPI RAM chips
11 #include <linux/mtd/mtd.h>
12 #include <linux/mtd/partitions.h>
30 struct mtd_info mtd; member
39 #define to_mchp23k256_flash(x) container_of(x, struct mchp23k256_flash, mtd)
51 for (i = flash->caps->addr_width; i > 0; i--, addr >>= 8) in mchp23k256_addr2cmd()
57 return 1 + flash->caps->addr_width; in mchp23k256_cmdsz()
60 static int mchp23k256_write(struct mtd_info *mtd, loff_t to, size_t len, in mchp23k256_write() argument
63 struct mchp23k256_flash *flash = to_mchp23k256_flash(mtd); in mchp23k256_write()
[all …]
H A Dms02-nv.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/mtd/mtd.h>
22 #include "ms02-nv.h"
26 "ms02-nv.c: v.1.0.0 13 Aug 2001 Maciej W. Rozycki.\n";
28 MODULE_AUTHOR("Maciej W. Rozycki <macro@linux-mips.org>");
29 MODULE_DESCRIPTION("DEC MS02-NV NVRAM module driver");
34 * Addresses we probe for an MS02-NV at. Modules may be located
45 static const char ms02nv_name[] = "DEC MS02-NV NVRAM";
46 static const char ms02nv_res_diag_ram[] = "Diagnostic RAM";
47 static const char ms02nv_res_user_ram[] = "General-purpose RAM";
[all …]
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/mtd/
H A Dmtd-physmap.txt1 CFI or JEDEC memory-mapped NOR flash, MTD-RAM (NVRAM...)
6 - compatible : should contain the specific model of mtd chip(s)
7 used, if known, followed by either "cfi-flash", "jedec-flash",
8 "mtd-ram" or "mtd-rom".
9 - reg : Address range(s) of the mtd chip(s)
11 non-identical chips can be described in one node.
12 - bank-width : Width (in bytes) of the bank. Equal to the
14 - device-width : (optional) Width of a single mtd chip. If
15 omitted, assumed to be equal to 'bank-width'.
16 - #address-cells, #size-cells : Must be present if the device has
[all …]
/OK3568_Linux_fs/output/sessions/2025-06-05_23-17-21/
H A Dbuild_2025-06-06_01-57-41.log
H A D70-loader-build.log
H A D70-loader-build_2025-06-06_01-57-41.log
H A Dbuild.log
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/
H A Dmtd-physmap.txt1 CFI or JEDEC memory-mapped NOR flash, MTD-RAM (NVRAM...)
6 - compatible : should contain the specific model of mtd chip(s)
7 used, if known, followed by either "cfi-flash", "jedec-flash",
8 "mtd-ram" or "mtd-rom".
9 - reg : Address range(s) of the mtd chip(s)
11 non-identical chips can be described in one node.
12 - bank-width : Width (in bytes) of the bank. Equal to the
14 - device-width : (optional) Width of a single mtd chip. If
15 omitted, assumed to be equal to 'bank-width'.
16 - #address-cells, #size-cells : Must be present if the device has
[all …]
/OK3568_Linux_fs/kernel/fs/cramfs/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
8 file system for ROM based embedded systems. CramFs is read-only,
20 purpose to remain small and low on RAM usage. It is most suitable
21 for small embedded systems. If you have ample RAM to spare, you may
37 depends on CRAMFS && CRAMFS <= MTD
47 MTD device capable of direct memory mapping e.g. from
48 the 'physmap' map driver or a resulting MTD partition.
50 the MTD partition named "xip_fs" on the /mnt mountpoint:
52 mount -t cramfs mtd:xip_fs /mnt
/OK3568_Linux_fs/kernel/drivers/mtd/
H A DKconfig1 menuconfig MTD config
2 tristate "Memory Technology Device (MTD) support"
5 Memory Technology Devices are flash, RAM and similar chips, often
7 will provide the generic support for MTD drivers to register
8 themselves with the kernel and for potential users of MTD devices
11 particular hardware and users of MTD devices. If unsure, say N.
13 if MTD
16 tristate "MTD tests support (DANGEROUS)"
19 This option includes various MTD tests into compilation. The tests
23 WARNING: some of the tests will ERASE entire MTD device which they
[all …]
H A Dmtdblock_ro.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Simple read-only (writable only for RAM) mtdblock driver
5 * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
10 #include <linux/mtd/mtd.h>
11 #include <linux/mtd/blktrans.h>
20 if (mtd_read(dev->mtd, (block * 512), 512, &retlen, buf)) in mtdblock_readsect()
30 if (mtd_write(dev->mtd, (block * 512), 512, &retlen, buf)) in mtdblock_writesect()
35 static void mtdblock_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) in mtdblock_add_mtd() argument
42 dev->mtd = mtd; in mtdblock_add_mtd()
43 dev->devnum = mtd->index; in mtdblock_add_mtd()
[all …]
/OK3568_Linux_fs/u-boot/common/spl/
H A DKconfig35 default "arch/$(ARCH)/cpu/u-boot-spl.lds"
38 The SPL stage will usually require a different linker-script
40 U-Boot stage. Set this to the path of the linker-script to
44 bool "Call board-specific initialization in SPL"
46 If this option is enabled, U-Boot will call the function
54 ROM for loading the next boot-stage after performing basic setup
58 BOOT_DEVICE_BOOTROM (or fall-through to the next boot device in the
85 usage as the *_simple malloc functions do not re-use free-ed mem.
94 usage as the *_simple malloc functions do not re-use free-ed mem.
103 location for the SPL stack. U-Boot SPL switches to this after
[all …]
/OK3568_Linux_fs/u-boot/drivers/dfu/
H A DKconfig10 This option allows performing update of DFU-managed medium with data
27 bool "MTD back end for DFU"
29 This option enables using DFU to read and write to MTD based
33 bool "RAM back end for DFU"
35 This option enables using DFU to read and write RAM on the target.
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
51 special additional settings registers for a lot of soc-components.
58 This driver support Decompress IP built-in Rockchip SoC, support
66 This driver support user invokes the Decompress IP built-in Rockchip SoC, support
127 0 for low-performance (powersave),
129 2 for high-performance.
149 The Process-Voltage-Temperature Monitor (PVTM) is used to monitor
154 bool "Rockchip RAM disk support"
156 Saying Y here will allow you to use reserved RAM memory as a block
188 tristate "Rockchip mtd vendor storage support"
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-pxa/
H A Dsaar.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-pxa/saar.c
7 * Copyright (C) 2007-2008 Marvell International Ltd.
20 #include <linux/platform_data/i2c-pxa.h>
23 #include <linux/mtd/mtd.h>
24 #include <linux/mtd/partitions.h>
25 #include <linux/mtd/onenand.h>
27 #include <asm/mach-types.h>
32 #include <linux/platform_data/video-pxafb.h>
142 /*Power-On Init sequence*/
[all …]
/OK3568_Linux_fs/u-boot/drivers/mtd/
H A DKconfig1 menu "MTD Support"
6 config MTD config
7 bool "Enable Driver Model for MTD drivers"
10 Enable driver model for Memory Technology Devices (MTD), such as
11 flash, RAM and similar chips, often used for solid state file
15 bool "Enable mtd block model for MTD drivers"
16 depends on MTD
18 Enable mtd block model for Memory Technology Devices (MTD).
33 bool "Enable MTD Device for NAND and ONENAND devices"
35 Adds the MTD device infrastructure from the Linux kernel.
[all …]
/OK3568_Linux_fs/u-boot/drivers/
H A DMakefile2 # SPDX-License-Identifier: GPL-2.0+
5 obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
6 obj-$(CONFIG_$(SPL_TPL_)DM) += core/
7 obj-$(CONFIG_$(SPL_TPL_)DM_CRYPTO) += crypto/
8 obj-$(CONFIG_$(SPL_TPL_)DM_RNG) += rng/
9 obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC_SUPPORT) += misc/ sysreset/ firmware/
10 obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/
11 obj-$(CONFIG_$(SPL_TPL_)LED) += led/
12 obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/
13 obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/
[all …]
/OK3568_Linux_fs/u-boot/include/configs/km/
H A Dkeymile-common.h2 * (C) Copyright 2008-2011
5 * SPDX-License-Identifier: GPL-2.0+
79 "ubi.mtd=" CONFIG_KM_UBI_PARTITION_NAME_BOOT \
88 "ubi.mtd=" CONFIG_KM_UBI_PARTITION_NAME_BOOT \
90 "ubi.mtd=" CONFIG_KM_UBI_PARTITION_NAME_APP
92 "ubiattach=if test ${boot_bank} -eq 0; then; " \
107 * - set 'subbootcmds'
108 * - set 'bootcmd' and 'altbootcmd'
110 * - 'release': for a standalone system kernel/rootfs from flash
117 "tftp 200000 scripts/develop-${arch}.txt && " \
[all …]
/OK3568_Linux_fs/kernel/fs/romfs/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 depends on BLOCK || MTD
6 This is a very small read-only file system mainly intended for
7 initial ram disks of installation disks, but it could be used for
8 other read-only media as well. Read
30 bool "Block device-backed ROM file system support"
40 bool "MTD-backed ROM file system support"
41 depends on MTD=y || (ROMFS_FS=m && MTD)
43 This permits ROMFS to use MTD based devices directly, without the
45 also allows direct mapping of MTD devices through romfs files under
[all …]

12345678910>>...33