| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/nvmem/ |
| D | u-boot,env.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/nvmem/u-boot,env.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: U-Boot environment variables 10 U-Boot uses environment variables to store device parameters and 14 Data is stored using U-Boot specific formats (variant specific header and NUL 15 separated key-value pairs). 21 This binding allows marking storage device (as containing env data) and 30 - Rafał Miłecki <rafal@milecki.pl> [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/aspeed/ |
| D | openbmc-flash-layout.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 compatible = "fixed-partitions"; 5 #address-cells = <1>; 6 #size-cells = <1>; 8 u-boot@0 { 10 label = "u-boot"; 13 u-boot-env@60000 { 15 label = "u-boot-env";
|
| D | openbmc-flash-layout-128.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 compatible = "fixed-partitions"; 5 #address-cells = <1>; 6 #size-cells = <1>; 8 u-boot@0 { 10 label = "u-boot"; 13 u-boot-env@e0000 { 15 label = "u-boot-env";
|
| D | openbmc-flash-layout-64.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 7 compatible = "fixed-partitions"; 8 #address-cells = <1>; 9 #size-cells = <1>; 11 u-boot@0 { 13 label = "u-boot"; 16 u-boot-env@e0000 { 18 label = "u-boot-env";
|
| D | openbmc-flash-layout-64-alt.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 7 compatible = "fixed-partitions"; 8 #address-cells = <1>; 9 #size-cells = <1>; 11 u-boot@0 { 13 label = "alt-u-boot"; 16 u-boot-env@e0000 { 18 label = "alt-u-boot-env"; 23 label = "alt-kernel"; 28 label = "alt-rofs"; [all …]
|
| D | facebook-bmc-flash-layout-128.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 compatible = "fixed-partitions"; 6 #address-cells = <1>; 7 #size-cells = <1>; 10 * u-boot partition: 896KB. 12 u-boot@0 { 14 label = "u-boot"; 18 * u-boot environment variables: 64KB. 20 u-boot-env@e0000 { 22 label = "env"; [all …]
|
| D | facebook-bmc-flash-layout.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 compatible = "fixed-partitions"; 6 #address-cells = <1>; 7 #size-cells = <1>; 9 u-boot@0 { 11 label = "u-boot"; 14 u-boot-env@60000 { 16 label = "env";
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | openbmc-flash-layout.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 compatible = "fixed-partitions"; 5 #address-cells = <1>; 6 #size-cells = <1>; 8 u-boot@0 { 10 label = "u-boot"; 13 u-boot-env@60000 { 15 label = "u-boot-env";
|
| D | openbmc-flash-layout-128.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 compatible = "fixed-partitions"; 5 #address-cells = <1>; 6 #size-cells = <1>; 8 u-boot@0 { 10 label = "u-boot"; 13 u-boot-env@e0000 { 15 label = "u-boot-env";
|
| D | facebook-bmc-flash-layout.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 compatible = "fixed-partitions"; 6 #address-cells = <1>; 7 #size-cells = <1>; 9 u-boot@0 { 11 label = "u-boot"; 14 u-boot-env@60000 { 16 label = "env";
|
| D | kirkwood-t5325.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 12 /dts-v1/; 15 #include "kirkwood-6281.dtsi" 19 compatible = "hp,t5325", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 28 stdout-path = &uart0; 32 pinctrl: pin-controller@10000 { 33 pinctrl-0 = <&pmx_i2s &pmx_sysrst>; 34 pinctrl-names = "default"; 36 pmx_button_power: pmx-button_power { [all …]
|
| D | armada-xp-db-xc3-24g4xg.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for DB-XC3-24G4XG board 7 * Based on armada-xp-db.dts 12 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 19 /dts-v1/; 20 #include "armada-xp-98dx3336.dtsi" 23 model = "DB-XC3-24G4XG"; 24 compatible = "marvell,db-xc3-24g4xg", "marvell,armadaxp-98dx3336", "marvell,armada-370-xp"; 37 arm,parity-enable; 38 marvell,ecc-enable; [all …]
|
| D | armada-xp-db-dxbc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for DB-DXBC2 board 7 * Based on armada-xp-db.dts 12 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 19 /dts-v1/; 20 #include "armada-xp-98dx4251.dtsi" 24 compatible = "marvell,db-dxbc2", "marvell,armadaxp-98dx4251", "marvell,armada-370-xp"; 43 devbus,bus-width = <16>; 44 devbus,turn-off-ps = <60000>; 45 devbus,badr-skew-ps = <0>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/marvell/ |
| D | armada-xp-crs328-4c-20s-4s-bit.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for MikroTik CRS328-4C-20S-4S+ Bit board 9 #include "armada-xp-crs328-4c-20s-4s.dtsi" 12 model = "MikroTik CRS328-4C-20S-4S+ Bit"; 19 #address-cells = <1>; 20 #size-cells = <1>; 21 compatible = "jedec,spi-nor"; 23 spi-max-frequency = <108000000>; 24 m25p,fast-read; 26 partition@u-boot { [all …]
|
| D | armada-xp-crs305-1g-4s-bit.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for MikroTik CRS305-1G-4S+ Bit board 9 #include "armada-xp-crs305-1g-4s.dtsi" 12 model = "MikroTik CRS305-1G-4S+ Bit"; 19 #address-cells = <1>; 20 #size-cells = <1>; 21 compatible = "jedec,spi-nor"; 23 spi-max-frequency = <108000000>; 24 m25p,fast-read; 26 partition@u-boot { [all …]
|
| D | armada-xp-crs326-24g-2s-bit.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for MikroTik CRS326-24G-2S+ Bit board 9 #include "armada-xp-crs326-24g-2s.dtsi" 12 model = "MikroTik CRS326-24G-2S+ Bit"; 19 #address-cells = <1>; 20 #size-cells = <1>; 21 compatible = "jedec,spi-nor"; 23 spi-max-frequency = <108000000>; 24 m25p,fast-read; 26 partition@u-boot { [all …]
|
| D | armada-xp-crs328-4c-20s-4s.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for CRS328-4C-20S-4S+ board 8 * Based on armada-xp-db.dts 13 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 20 /dts-v1/; 21 #include "armada-xp-98dx3236.dtsi" 24 model = "CRS328-4C-20S-4S+"; 25 compatible = "mikrotik,crs328-4c-20s-4s", "marvell,armadaxp-98dx3236", "marvell,armada-370-xp"; 38 arm,parity-enable; 39 marvell,ecc-enable; [all …]
|
| D | armada-xp-crs305-1g-4s.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for CRS305-1G-4S board 8 * Based on armada-xp-db.dts 13 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 20 /dts-v1/; 21 #include "armada-xp-98dx3236.dtsi" 24 model = "CRS305-1G-4S+"; 25 compatible = "mikrotik,crs305-1g-4s", "marvell,armadaxp-98dx3236", "marvell,armada-370-xp"; 38 arm,parity-enable; 39 marvell,ecc-enable; [all …]
|
| D | armada-xp-crs326-24g-2s.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for CRS326-24G-2S board 8 * Based on armada-xp-db.dts 13 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 20 /dts-v1/; 21 #include "armada-xp-98dx3236.dtsi" 24 model = "CRS326-24G-2S+"; 25 compatible = "mikrotik,crs326-24g-2s", "marvell,armadaxp-98dx3236", "marvell,armada-370-xp"; 38 arm,parity-enable; 39 marvell,ecc-enable; [all …]
|
| D | kirkwood-t5325.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 12 /dts-v1/; 15 #include "kirkwood-6281.dtsi" 19 compatible = "hp,t5325", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 28 stdout-path = &uart0; 32 pinctrl: pin-controller@10000 { 33 pinctrl-0 = <&pmx_i2s &pmx_sysrst>; 34 pinctrl-names = "default"; 36 pmx_button_power: pmx-button_power { [all …]
|
| D | armada-xp-db-xc3-24g4xg.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for DB-XC3-24G4XG board 7 * Based on armada-xp-db.dts 12 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 19 /dts-v1/; 20 #include "armada-xp-98dx3336.dtsi" 23 model = "DB-XC3-24G4XG"; 24 compatible = "marvell,db-xc3-24g4xg", "marvell,armadaxp-98dx3336", "marvell,armada-370-xp"; 37 arm,parity-enable; 38 marvell,ecc-enable; [all …]
|
| D | armada-xp-db-dxbc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for DB-DXBC2 board 7 * Based on armada-xp-db.dts 12 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 19 /dts-v1/; 20 #include "armada-xp-98dx4251.dtsi" 24 compatible = "marvell,db-dxbc2", "marvell,armadaxp-98dx4251", "marvell,armada-370-xp"; 43 devbus,bus-width = <16>; 44 devbus,turn-off-ps = <60000>; 45 devbus,badr-skew-ps = <0>; [all …]
|
| /kernel/linux/linux-6.6/drivers/nvmem/ |
| D | u-boot-env.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/nvmem-consumer.h> 13 #include <linux/nvmem-provider.h> 54 struct device *dev = priv->dev; in u_boot_env_read() 58 err = mtd_read(priv->mtd, offset, bytes, &bytes_read, val); in u_boot_env_read() 66 return -EIO; in u_boot_env_read() 77 if (bytes != 3 * ETH_ALEN - 1) in u_boot_env_read_post_process_ethaddr() 78 return -EINVAL; in u_boot_env_read_post_process_ethaddr() 81 return -EINVAL; in u_boot_env_read_post_process_ethaddr() 94 struct nvmem_device *nvmem = priv->nvmem; in u_boot_env_add_cells() [all …]
|
| /kernel/linux/linux-6.6/arch/mips/alchemy/common/ |
| D | prom.c | 4 * PROM library initialisation code, supports YAMON and U-Boot. 6 * Copyright 2000-2001, 2006, 2008 MontaVista Software Inc. 10 * arch/mips/mips-boards/xx files. 54 if (i < (prom_argc - 1)) in prom_init_cmdline() 63 * YAMON uses "name", "value" pairs, while U-Boot uses "name=value". in prom_getenv() 66 char **env = prom_envp; in prom_getenv() local 68 int yamon = (*env && strchr(*env, '=') == NULL); in prom_getenv() 70 while (*env) { in prom_getenv() 72 if (strcmp(envname, *env++) == 0) in prom_getenv() 73 return *env; in prom_getenv() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/alchemy/common/ |
| D | prom.c | 4 * PROM library initialisation code, supports YAMON and U-Boot. 6 * Copyright 2000-2001, 2006, 2008 MontaVista Software Inc. 10 * arch/mips/mips-boards/xx files. 54 if (i < (prom_argc - 1)) in prom_init_cmdline() 63 * YAMON uses "name", "value" pairs, while U-Boot uses "name=value". in prom_getenv() 66 char **env = prom_envp; in prom_getenv() local 68 int yamon = (*env && strchr(*env, '=') == NULL); in prom_getenv() 70 while (*env) { in prom_getenv() 72 if (strcmp(envname, *env++) == 0) in prom_getenv() 73 return *env; in prom_getenv() [all …]
|