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>
Fri, 17 Feb 2017 09:28:52 +0000 (10:28 +0100)
commit6d6db65d8294a12265f9ac75dee31d98767946c9
tree483a8af7c1afe925640b6f54d9d6a6e11eacf851
parentbd5b5c749a3d5fd7ef4ec8f03330dfef445db218
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]