realtek: use vendor-specific magic for ZyXEL
authorBjørn Mork <bjorn@mork.no>
Sat, 23 Jan 2021 10:08:11 +0000 (11:08 +0100)
committerPetr Štetiar <ynezz@true.cz>
Sun, 24 Jan 2021 17:12:34 +0000 (18:12 +0100)
commitca4832fcac83bc375a48648bd77d3283d0742128
treea846d9766e202e6ff917cabcfdf60d950b8f75ae
parent297f82fc583ac277f85a8a202c3d672f93ac08f8
realtek: use vendor-specific magic for ZyXEL

The stock firmware of the ZyXEL GS1900 series use a non-standard
u-image magic.  This is not enforced by the stock u-boot, which is
why we could boot images with the default magic.  The flash
management application of the stock firmware will however verify
the magic, and refuse any image with another value.

Convert to vendor-specific value to get flash management support
in stock firmware, including the ability to upgrade to OpenWrt
directly from stock web UI.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
target/linux/realtek/dts/rtl8380_zyxel_gs1900.dtsi
target/linux/realtek/image/Makefile