aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/dts-5.10
diff options
context:
space:
mode:
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>2022-07-04 14:11:26 -0300
committerSander Vanheule <sander@svanheule.net>2022-07-05 21:52:14 +0200
commit8b798dbb39856463878efb07ddef87ce2e522ceb (patch)
tree53fd9761a94070b532552df2e06871ea854b68e3 /target/linux/realtek/dts-5.10
parentebfe66e494e57f4b421f1190d6bff1d361db1b3d (diff)
downloadupstream-8b798dbb39856463878efb07ddef87ce2e522ceb.tar.gz
upstream-8b798dbb39856463878efb07ddef87ce2e522ceb.tar.bz2
upstream-8b798dbb39856463878efb07ddef87ce2e522ceb.zip
realtek: rename u-boot-env2 to board-name
Some realtek boards have two u-boot-env partitions. However, in the DGS-1210 series, the mtdblock2 partition is not a valid u-boot env and simply contains the board/device name, followed by nulls. 00000000 44 47 53 2d 31 32 31 30 2d 32 38 2d 46 31 00 00 |DGS-1210-28-F1..| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00040000 00000000 44 47 53 2d 31 32 31 30 2d 35 32 2d 46 31 00 00 |DGS-1210-52-F1..| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00040000 The misleading u-boot-env2 name also confuses uboot-envtools. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Diffstat (limited to 'target/linux/realtek/dts-5.10')
-rw-r--r--target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi b/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi
index 312a36c1a8..aaaa872162 100644
--- a/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl8382_d-link_dgs-1210.dtsi
@@ -55,7 +55,7 @@
read-only;
};
partition@c0000 {
- label = "u-boot-env2";
+ label = "board-name";
reg = <0x000c0000 0x40000>;
};
partition@280000 {