@@ -345,15 +345,6 @@ int board_cfb_skip(void)
return 0;
}
-static int detect_baseboard(struct display_info_t const *dev)
-{
- if (IS_ENABLED(CONFIG_TARGET_GE_B450V3) ||
- IS_ENABLED(CONFIG_TARGET_GE_B650V3))
- return 1;
-
- return 0;
-}
-
struct display_info_t const displays[] = {{
.bus = -1,
.addr = -1,
@@ -517,6 +508,15 @@ static void setup_display_bx50v3(void)
}
#endif /* CONFIG_VIDEO_IPUV3 */
+static int detect_baseboard(struct display_info_t const *dev)
+{
+ if (IS_ENABLED(CONFIG_TARGET_GE_B450V3) ||
+ IS_ENABLED(CONFIG_TARGET_GE_B650V3))
+ return 1;
+
+ return 0;
+}
+
/*
* Do not overwrite the console
* Use always serial for U-Boot console
detect_baseboard() function doesn't depend on CONFIG_VIDEO_IPUV3. Make sure it's available when CONFIG_VIDEO_IPUV3 is off. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> --- board/ge/bx50v3/bx50v3.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)