ar71xx: fix board detection with newer RouterBOOT versions
authorGabor Juhos <juhosg@freemail.hu>
Fri, 8 Dec 2017 22:31:55 +0000 (23:31 +0100)
committerYousong Zhou <yszhou4tech@gmail.com>
Tue, 12 Dec 2017 09:05:25 +0000 (17:05 +0800)
commite7b48fcfe18f14cf3f4915dc3622599f7a91f9fc
tree2e795f8298496c51278ff138fe8671530f10b31e
parentb8220883fd8fa209dae71def9b6d2a7656bca8bb
ar71xx: fix board detection with newer RouterBOOT versions

Recent RouterBOOT version (at least version 3.41 on RB911G-5HPacD)
use "Board=" kernel parameter instead of "board=" to pass the board
name to the kernel. Due to this change the board detection code is
not working on the devices shipped with the new RouterBOOT version.
Because the kernel is unable to identify these boards they become
unusable despite that they are supported by the current code.

Update the prom_init code to convert the 'Board' kernel parameter to
'board'. After this change, the board detection works also with the
new RouterBOOT versions.

Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
target/linux/ar71xx/patches-4.4/702-MIPS-ath79-fixup-routerboot-board-parameter.patch [new file with mode: 0644]
target/linux/ar71xx/patches-4.9/702-MIPS-ath79-fixup-routerboot-board-parameter.patch [new file with mode: 0644]