rtl838x: Fix firmware handling
authorBirger Koblitz <git@birger-koblitz.de>
Thu, 15 Oct 2020 10:31:05 +0000 (12:31 +0200)
committerJohn Crispin <john@phrozen.org>
Thu, 15 Oct 2020 11:26:57 +0000 (13:26 +0200)
commit076fdd9fec874581dc3059c34ca72be6aab3d81d
treef22932beaef5134851e4028dba92947a684dae57
parent953435795d176a95b58ca78ee5fb54490c8b40c5
rtl838x: Fix firmware handling

Fix wrong magic number verification for FW files.
Correct handling of external RTL8218B firmware PHY name in firmware.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/rtl838x/files-5.4/drivers/net/dsa/rtl838x_phy.c
target/linux/rtl838x/files/firmware/rtl838x_phy/rtl838x_8218b.fw