diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2017-05-01 09:40:43 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-10-06 13:48:12 +0000 |
commit | 128205fd087cc43f4cf9c7a947af5b951bcf2339 (patch) | |
tree | 120ad1cecbb03474a11f8675be10e210a152918f /src/mainboard/lenovo/x201/dsdt.asl | |
parent | 2b9f5b5c121997e34743adf6fbe6b03676805404 (diff) |
autoport/bd82x6x.go: Improve gpio.c generation
This generates better gpio.c files where structs are initialised as
static to be able to drop some entries since those would be
initialised as 0.
This makes these files less cluttered since only relevant things are
shown:
* GPIO direction, level, invert, blink depend on GPIO mode
* GPIO level is read only on input
* GPIO invert is only valid on input
* only show when GPIO are inverted, blinking, reset by RSMRST#
Change-Id: I83382d38a4a3b7ed11b8e7077cc5fbe154e261a7
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/19508
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/lenovo/x201/dsdt.asl')
0 files changed, 0 insertions, 0 deletions