x86: Enable DIAG LED on Geos
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 13 Feb 2017 13:38:33 +0000 (13:38 +0000)
committerJohn Crispin <john@phrozen.org>
Wed, 15 Feb 2017 06:52:28 +0000 (07:52 +0100)
commitadd465f1be5d092ef049306ea2a211ff3f82b146
treef6b34c3021d18ab43dc1d655fec8db329d301ee2
parent27a635f0b487eb54bde58639c80080396bbf1c03
x86: Enable DIAG LED on Geos

Based on a patch from Chris Blake <chrisrblake93@gmail.com>, except let's
do it by using the LED configuration instead of hard-coding it for each
board type. And try using /bin/board_detect to do the default behaviour,
on the first boot where the config hasn't yet been generated.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
target/linux/x86/base-files/etc/board.d/01_leds
target/linux/x86/base-files/etc/diag.sh [new file with mode: 0644]