mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 22:53:04 +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];
|
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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue