ath79: lzma-loader: fix & re-enable per-board CONFIG_BOARD_DEV
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 31 Jul 2021 20:56:29 +0000 (22:56 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 22 Oct 2021 19:25:18 +0000 (21:25 +0200)
commite9335c292003e15901ef5f665750f9493132eb28
treea918f66cca897da04e82cb7bb3f1b0f363282c28
parent8a042450d8fd4e2916fb0e87d65bbbd7e3a97130
ath79: lzma-loader: fix & re-enable per-board CONFIG_BOARD_DEV

Back in the AR71XX days, the lzma-loader code could be customized
based on the $BOARD variable. These would be passed as a
compile-time -DCONFIG_BOARD_$DEVICE_MODEL flag to the compiler.
Hence, the lzma-loader would be able to include device-specific
fixups.

Note: There's still a fixup for the TpLink TL-WR1043ND V1 found
in the lzma-loader's board.c code. But since the days of AR71XX
I couldn't find a forum post or bug reported. So, I left it
as is to not break anything by enabling it.

=> If you have a TL-WR1043ND V1 and you have problem with
the ethernet: let me know. Because otherwise, the fixup
might simply no longer needed with ath79 and it can be removed.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ath79/image/Makefile