mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
fdt: edid: Enable fdt_add_edid() function when CONFIG_LCD defined
This function can be used for LCDs as well as monitors. Signed-off-by: Tom Wai-Hong Tam <waihong@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
735987c5a8
commit
096eb3f59b
1 changed files with 1 additions and 1 deletions
|
@ -1315,7 +1315,7 @@ int fdt_set_status_by_alias(void *fdt, const char* alias,
|
|||
return fdt_set_node_status(fdt, offset, status, error_code);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_VIDEO)
|
||||
#if defined(CONFIG_VIDEO) || defined(CONFIG_LCD)
|
||||
int fdt_add_edid(void *blob, const char *compat, unsigned char *edid_buf)
|
||||
{
|
||||
int noff;
|
||||
|
|
Loading…
Reference in a new issue