
18 Jan
2012
18 Jan
'12
10:58 p.m.
On 01/11/2012 09:32 PM, Simon Glass wrote:
This fixes five trivial issues in fdtdec.c:
- fdtdec_get_is_enabled() doesn't really need a default value
- The fdt must be word-aligned, since otherwise it will fail on ARM
- The compat_names[] array is missing its first element. This is needed
only because the first fdt_compat_id is defined to be invalid. 4. Added a header prototype for fdtdec_next_compatible() 5. Change fdtdec_next_alias() to only increment its 'upto' parameter on success, to make the display error messages in the caller easier.
Signed-off-by: Simon Glass sjg@chromium.org
Acked-by: Stephen Warren swarren@nvidia.com (only because I commented on this before; I'm not an FDT maintainer here)
--
nvpublic