kboot: dcp: Use "apple,asc-mem" as compatible strings for reserved memory

This is in preparation for the next commit to use "framebuffer" as
compatible string for the boot framebuffer. This is in line with a
proposed change for boot framebuffer handling on Nvidia Tegra SoCs.
It will allow removing simpledrm via
drm_aperture_remove_conflicting_framebuffers().

Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
Janne Grunau 2023-01-03 00:41:13 +01:00 committed by Hector Martin
parent 9ca6016a4e
commit d73f53d9a0

View file

@ -1127,8 +1127,8 @@ static int dt_add_reserved_regions(const char *dcp_alias, const char *disp_alias
char node_name[64]; char node_name[64];
snprintf(node_name, sizeof(node_name), "%s@%lx", name, region[i].paddr); snprintf(node_name, sizeof(node_name), "%s@%lx", name, region[i].paddr);
int mem_node = dt_get_or_add_reserved_mem(node_name, compat, region[i].paddr, int mem_node =
region[i].size); dt_get_or_add_reserved_mem(node_name, compat, region[i].paddr, region[i].size);
if (mem_node < 0) if (mem_node < 0)
goto err; goto err;