ar71xx: bring back Atheros AP83 support
authorZoltan HERPAI <[email protected]>
Tue, 5 May 2020 15:09:35 +0000 (17:09 +0200)
committerZoltan HERPAI <[email protected]>
Thu, 2 Jul 2020 08:53:38 +0000 (10:53 +0200)
commit2a3631cf8a543f97b82b1f8348e38f807dd53b41
tree518bbc4de02ed5f11e775f8ea165928948de42e4
parent7c15254e5ed7b80a0ba3a9adace2f0be222126b7
ar71xx: bring back Atheros AP83 support

I still have a (working!) AP83-040 board, so let's bring back
support for it. Changes since it was dropped:

 - WLAN LED isn't working, "fixme"
 - hardcoded flash layout was added back into the mach file
 - sysupgrade is "fixme"
 - the flash mechanism and the custom SPI driver was not
   modernized, but they compile and work.

Other than these notes, the board is working as expected.

Signed-off-by: Zoltan HERPAI <[email protected]>
13 files changed:
target/linux/ar71xx/base-files/etc/board.d/01_leds
target/linux/ar71xx/base-files/etc/board.d/02_network
target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
target/linux/ar71xx/config-4.14
target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt
target/linux/ar71xx/files/arch/mips/ath79/Makefile
target/linux/ar71xx/files/arch/mips/ath79/mach-ap83.c [new file with mode: 0644]
target/linux/ar71xx/files/arch/mips/ath79/machtypes.h
target/linux/ar71xx/generic/config-default
target/linux/ar71xx/image/generic-legacy-devices.mk
target/linux/ar71xx/image/legacy.mk