diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2012-08-27 19:39:00 -0500 |
---|---|---|
committer | Gerald Van Baren <gvb@unssw.com> | 2012-10-15 19:15:39 -0400 |
commit | 24fa0e588e68dfb4b15d1e94c543c9301d226902 (patch) | |
tree | f5248db7420f632c7f1308f5e4957803e40b2bea /drivers/mtd/at45.c | |
parent | 36ad18a6db0eec546b83e6500ceb7593be53a1ed (diff) | |
download | u-boot-imx-24fa0e588e68dfb4b15d1e94c543c9301d226902.zip u-boot-imx-24fa0e588e68dfb4b15d1e94c543c9301d226902.tar.gz u-boot-imx-24fa0e588e68dfb4b15d1e94c543c9301d226902.tar.bz2 |
libfdt: Add helpers for 64-bit integer properties
In device trees in the world, properties consisting of a single 64-bit
integer are not as common as those consisting of a single 32-bit, cell
sized integer, but they're common enough that they're worth including
convenience functions for.
This patch adds helper wrappers of fdt_setprop_inplace(), fdt_setprop() and
fdt_appendprop() for handling 64-bit integer quantities in properties. For
better consistency with the names of these new *_u64() functions we also
add *_u32() functions as alternative names for the existing *_cell()
functions handling 32-bit integers.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'drivers/mtd/at45.c')
0 files changed, 0 insertions, 0 deletions