diff options
author | SzuWei Lin <szuweilin@google.com> | 2017-04-18 12:18:15 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-04-18 12:18:15 +0000 |
commit | c9489413d5b9f036d9ccf264da2bce90d3c411a1 (patch) | |
tree | 1ff88255033748eb9fead8fe8941605a55e6f578 | |
parent | 315f054c644d7713fdd77981fabfb41b41db6e81 (diff) | |
parent | e796e9a758b0d18399175d168b48f787475ba295 (diff) | |
download | libufdt-c9489413d5b9f036d9ccf264da2bce90d3c411a1.tar.gz |
mkdtimg: fix value with wrong data endian from dtb property am: 094c7b4709 am: 9b847f22be
am: e796e9a758
Change-Id: I5d8aab83ac98a132b3ee66d29f737531e8cb686c
-rw-r--r-- | utils/src/mkdtimg_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/src/mkdtimg_core.c b/utils/src/mkdtimg_core.c index 0cbb683..0f42d80 100644 --- a/utils/src/mkdtimg_core.c +++ b/utils/src/mkdtimg_core.c @@ -141,7 +141,7 @@ static fdt32_t get_fdt32_from_prop(void *fdt, const char *path, const char *prop return 0; } - fdt32_t value = fdt32_to_cpu(*prop_value_ptr); + fdt32_t value = *prop_value_ptr; /* TODO: check len */ if (DEBUG) printf("%s:%s => %08x\n", path, prop, fdt32_to_cpu(value)); |