blob: 55d93bcb06a8ee36d329352c3fc343693a3967db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <common.h>
#include <of.h>
#include <memory.h>
int of_add_memory_bank(struct device_node *node, bool dump, int r,
u64 base, u64 size)
{
static char str[6];
sprintf(str, "ram%d", r);
if (dump)
pr_info("%s: %s: 0x%llx@0x%llx\n", node->name, str, size, base);
return barebox_add_memory_bank(str, base, size);
}
|