• S
    x86: ivybridge: Add support for early GPIO init · 1b4f25ff
    Simon Glass 提交于
    When not relying on Coreboot for GPIO init the GPIOs must be set up
    correctly. This is currently done statically through a rather ugly method.
    As the GPIOs are figured out they can be moved to the device tree and set
    up as needed rather than all at the start.
    
    In this implementation, board files should call ich_gpio_set_gpio_map()
    before the GPIO driver is used in order to provide the GPIO information.
    We use the early PCI interface so that this driver can now be used before
    relocation.
    Signed-off-by: NSimon Glass <sjg@chromium.org>
    1b4f25ff
intel_ich6_gpio.c 9.1 KB