diff options
author | Peng Fan <peng.fan@nxp.com> | 2017-09-28 17:12:54 +0800 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2017-10-10 09:17:07 +0200 |
commit | 23b1daf4554eadbfd883e44deeaceb8ffc608c78 (patch) | |
tree | c781ec8045b3016c01ab2b52687b2ec687ca2f5e /core/kernel | |
parent | af397f928865af8b63b2110d35dd2d631f7ce095 (diff) |
core: dt: typo fix
1. According to ePAPR spec, status should be okay/disabled/fail/fail-sss.
To Linux device tree, "okay" and "ok" are both used. Function is_okay
also use "okay" and "ok". But "ok" is not defined in spec. Here only
correct comments
2. size -> sz
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/kernel')
-rw-r--r-- | core/kernel/dt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/kernel/dt.c b/core/kernel/dt.c index 3d88c49e..1a6d5c5c 100644 --- a/core/kernel/dt.c +++ b/core/kernel/dt.c @@ -87,7 +87,7 @@ int dt_map_dev(const void *fdt, int offs, vaddr_t *base, size_t *size) /* Check if we have a mapping, create one if needed */ if (!core_mmu_add_mapping(mtype, pbase, sz)) { EMSG("Failed to map %zu bytes at PA 0x%"PRIxPA, - (size_t)size, pbase); + (size_t)sz, pbase); return -1; } vbase = (vaddr_t)phys_to_virt(pbase, mtype); |