commit | a4b515c03804dbc0eff5bbf281bd22438717e773 | [log] [tgz] |
---|---|---|
author | Anton Staaf <robotboy@chromium.org> | Tue Oct 11 10:22:28 2011 -0700 |
committer | Jon Loeliger <jdl@jdl.com> | Tue Oct 11 12:58:03 2011 -0500 |
tree | 9bb59428c54b15ad341e711190edb2e86e73c55f | |
parent | 2cd4c8d27d6b5ea83723754da4eba5d51aa71b95 [diff] |
dtc: Add data_append_integer function This function deals with appending integers of various sizes (8, 16 32, and 64 bit currently). It handles endianess conversions. If the integer will not fit in the requested number of bits of storage it will have it's high bits ignored. This patch also rewrites data_append_cell and data_append_addr to use data_append_integer. Signed-off-by: Anton Staaf <robotboy@chromium.org> Acked-by: David Gibson <david@gibson.dropbear.id.au>