mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
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:
parent
9ca6016a4e
commit
d73f53d9a0
1 changed files with 2 additions and 2 deletions
|
@ -1127,8 +1127,8 @@ static int dt_add_reserved_regions(const char *dcp_alias, const char *disp_alias
|
|||
char node_name[64];
|
||||
|
||||
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,
|
||||
region[i].size);
|
||||
int mem_node =
|
||||
dt_get_or_add_reserved_mem(node_name, compat, region[i].paddr, region[i].size);
|
||||
if (mem_node < 0)
|
||||
goto err;
|
||||
|
||||
|
|
Loading…
Reference in a new issue