Commit a4b515c0 authored by Anton Staaf's avatar Anton Staaf Committed by Jon Loeliger
Browse files

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: default avatarAnton Staaf <robotboy@chromium.org>
Acked-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 2cd4c8d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment