diff options
author | Thibaut VARÈNE <hacks@slashdirt.org> | 2020-03-17 17:53:44 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-03-27 17:12:46 +0100 |
commit | 92616c422700bd99073bded40b222bf34036111d (patch) | |
tree | b1e77d0f4b471b5e3bdaddf30df88f3caf2568f9 /target/linux | |
parent | 9a122df07e82224f1fd0588559ded6ce4cf6a9e5 (diff) | |
download | upstream-92616c422700bd99073bded40b222bf34036111d.tar.gz upstream-92616c422700bd99073bded40b222bf34036111d.tar.bz2 upstream-92616c422700bd99073bded40b222bf34036111d.zip |
ath79: rename Mikrotik RB 922UAGS-5HPacD mtd partition
In RouterBOARD parlance there never was an "art" partition.
This partition has always been named 'hard_config' on ar71xx.
This partition contains more than just ART (Atheros Radio Test) data. It
includes the hardware description (product code, serial, board
identifier, name, hardware options, MAC address), as well as other bits
affecting the operation of RouterBoot.
To avoid confusion with regular ART data, this partition is renamed in
line with historical ar71xx and ramips nomenclature as 'hard_config'.
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
[minor commit title/message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ath79/dts/qca9558_mikrotik_routerboard-922uags-5hpacd.dts | 6 | ||||
-rw-r--r-- | target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/qca9558_mikrotik_routerboard-922uags-5hpacd.dts b/target/linux/ath79/dts/qca9558_mikrotik_routerboard-922uags-5hpacd.dts index 26a18ad6a7..3f2a1a51a6 100644 --- a/target/linux/ath79/dts/qca9558_mikrotik_routerboard-922uags-5hpacd.dts +++ b/target/linux/ath79/dts/qca9558_mikrotik_routerboard-922uags-5hpacd.dts @@ -80,7 +80,7 @@ ð0 { status = "okay"; - mtd-mac-address = <&art 0x10>; + mtd-mac-address = <&hard_config 0x10>; phy-handle = <&phy4>; pll-data = <0x8f000000 0xa0000101 0xa0001313>; @@ -109,8 +109,8 @@ read-only; }; - art: partition@c000 { - label = "art"; + hard_config: partition@c000 { + label = "hard_config"; reg = <0x000c000 0x0001000>; read-only; }; diff --git a/target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 7773eb1e3a..2521f0ad96 100644 --- a/target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ath79/mikrotik/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -18,7 +18,7 @@ case "$FIRMWARE" in "ath10k/cal-pci-0000:01:00.0.bin") case $board in mikrotik,routerboard-922uags-5hpacd) - mikrotik_caldata_extract "art" 0x5000 0x844 + mikrotik_caldata_extract "hard_config" 0x5000 0x844 ;; esac ;; |