ar71xx: add definitions for RouterBOARD hardware option bits
authorGabor Juhos <juhosg@freemail.hu>
Thu, 18 Jan 2018 12:50:29 +0000 (13:50 +0100)
committerJohn Crispin <john@phrozen.org>
Mon, 22 Jan 2018 09:53:00 +0000 (10:53 +0100)
commitc7371cd1ee1dce130aa52ac9cdeb023fc33ee4b0
tree291db3d5b617f3235ae7dec5cc0dca52bd42bc3b
parent5bdbc10b1b0d323f145f652f45a8f9bed6aaa40d
ar71xx: add definitions for RouterBOARD hardware option bits

Add bit definitions for the 'hardware options' tag which is used in
the MikroTik devices' hardware configurations. These values can be
used in board setup codes, to do different initialization sequences.
The values were obtained from the RouterOS 6.41-rc38 patches.

Additionally, introduce two helper functions what make the processing
of the hardware options easy.

Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
target/linux/ar71xx/files/arch/mips/ath79/routerboot.h