commit 0e81953b670e3806e8f07c5ab02d12ecb8c59b46
parent 3c70a0d037c7e85380bd4b8e2aea1d147808012c
Author: Raito Bezarius <masterancpp@gmail.com>
Date: Mon, 19 Feb 2024 01:20:19 +0100
devices/zyxel-nwa50ax: cleanup of `flash` attribute and `rootDevice`
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/devices/zyxel-nwa50ax/default.nix b/devices/zyxel-nwa50ax/default.nix
@@ -138,17 +138,13 @@
# This is a FIT containing a kernel padded and
# a UBI volume rootfs.
defaultOutput = "zyxel-nwa-fit";
+
loadAddress = lim.parseInt "0x80001000";
entryPoint = lim.parseInt "0x80001000";
# Aligned on 2kb.
alignment = 2048;
- flash = {
- address = lim.parseInt "0xbc050000";
- size = lim.parseInt "0xfb0000";
- eraseBlockSize = 65536;
- };
- rootDevice = "ubi0:rootfs";
+ rootDevice = "ubi:rootfs";
dts = {
src = "${openwrt.src}/target/linux/ramips/dts/mt7621_zyxel_nwa50ax.dts";