X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=board%2Ftoradex%2Fapalis-tk1%2Fapalis-tk1.c;h=b87e9e7a3efc21c2dd1602d6e7fe612f7bd4c876;hb=da206916a14fc8ab8962763c47673128a29b4b9c;hp=d6a736d8aa1d99caf299fafb9021eabcffa5b357;hpb=f1333417e82c3275cb46fe230bcdabd5b5f95922;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/toradex/apalis-tk1/apalis-tk1.c b/board/toradex/apalis-tk1/apalis-tk1.c index d6a736d..b87e9e7 100644 --- a/board/toradex/apalis-tk1/apalis-tk1.c +++ b/board/toradex/apalis-tk1/apalis-tk1.c @@ -240,3 +240,12 @@ void tegra_pcie_board_port_reset(struct tegra_pcie_port *port) } } #endif /* CONFIG_PCI_TEGRA */ + +/* + * Backlight off before OS handover + */ +void board_preboot_os(void) +{ + gpio_request(TEGRA_GPIO(BB, 5), "BL_ON"); + gpio_direction_output(TEGRA_GPIO(BB, 5), 0); +}