From 4041abe76723c4dc98f32d0eac935636b3ae65da Mon Sep 17 00:00:00 2001 From: vojo Date: Mon, 15 Jan 2018 09:52:11 +0100 Subject: Pin 17 changed from CLK_OUT to GPIO and SDHC dtb status fix diff --git a/board/scalys/grapeboard/PBL_0x33_0x05_800_250_1000.bin b/board/scalys/grapeboard/PBL_0x33_0x05_800_250_1000.bin index 5487ff6..dc9e1c9 100644 Binary files a/board/scalys/grapeboard/PBL_0x33_0x05_800_250_1000.bin and b/board/scalys/grapeboard/PBL_0x33_0x05_800_250_1000.bin differ diff --git a/board/scalys/grapeboard/PBL_0x33_0x08_800_250_1000.bin b/board/scalys/grapeboard/PBL_0x33_0x08_800_250_1000.bin index 2a12fd0..08a83a6 100644 Binary files a/board/scalys/grapeboard/PBL_0x33_0x08_800_250_1000.bin and b/board/scalys/grapeboard/PBL_0x33_0x08_800_250_1000.bin differ diff --git a/board/scalys/grapeboard/PBL_0x35_0x08_800_250_1000.bin b/board/scalys/grapeboard/PBL_0x35_0x08_800_250_1000.bin index 11db49f..444860d 100644 Binary files a/board/scalys/grapeboard/PBL_0x35_0x08_800_250_1000.bin and b/board/scalys/grapeboard/PBL_0x35_0x08_800_250_1000.bin differ diff --git a/board/scalys/grapeboard/grapeboard.c b/board/scalys/grapeboard/grapeboard.c index a0c0a9e..78c5502 100644 --- a/board/scalys/grapeboard/grapeboard.c +++ b/board/scalys/grapeboard/grapeboard.c @@ -159,6 +159,16 @@ int board_init(void) return 0; } +int esdhc_status_fixup(void *blob, const char *compat) +{ + char esdhc0_path[] = "/soc/esdhc@1560000"; + + do_fixup_by_path(blob, esdhc0_path, "status", "okay", + sizeof("okay"), 1); + + return 0; +} + int ft_board_setup(void *blob, bd_t *bd) { arch_fixup_fdt(blob); -- cgit v0.10.2