ar71xx: mach-rbspi: return rb_info from rbspi_platform_setup
authorGabor Juhos <juhosg@freemail.hu>
Thu, 18 Jan 2018 12:50:30 +0000 (13:50 +0100)
committerJohn Crispin <john@phrozen.org>
Mon, 22 Jan 2018 09:53:16 +0000 (10:53 +0100)
commite379e60b17157d91ae51236f0a747772b0cc1662
tree13db0f8bd83559839870ccb37ebe35d386fe25be
parentc7371cd1ee1dce130aa52ac9cdeb023fc33ee4b0
ar71xx: mach-rbspi: return rb_info from rbspi_platform_setup

Modify the rbspi_platform_setup() function to return the pointer of the
rb_info structure. This allows board specific setup routines to access
the various fields of the information. It is useful for investigating
the hardware option bits for example.

Also update the board setup codes, to ensure that those handle the new
return value correctly.

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