MIPS: ath25: add board configuration detection
authorSergey Ryazanov <ryazanov.s.a@gmail.com>
Tue, 28 Oct 2014 23:18:44 +0000 (03:18 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:27 +0000 (07:45 +0100)
commita7473717483ef3bb78563611bf1b3b82c5515b2e
treed5e3431409c4aee784c7c8401cf19614aed91d7c
parent1ac91b1f686e9d819b16525baf2e8db3c282edba
MIPS: ath25: add board configuration detection

All boards based on AR5312/AR2315 SoC have a special structure located
at the end of flash. This structure contains board-specific data such as
Ethernet and Wireless MAC addresses. The flash is mapped to the memmory
at predefined location.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Cc: Linux MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/8243/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath25/ar2315.c
arch/mips/ath25/ar2315.h
arch/mips/ath25/ar5312.c
arch/mips/ath25/ar5312.h
arch/mips/ath25/board.c
arch/mips/ath25/devices.c
arch/mips/ath25/devices.h
arch/mips/include/asm/mach-ath25/ath25_platform.h [new file with mode: 0644]