Hi Stephen, On Mon, Dec 5, 2011 at 3:54 PM, Stephen Warren <swar...@nvidia.com> wrote: > On 12/02/2011 07:57 PM, Simon Glass wrote: >> From: Anton Staff <robot...@chromium.org> >> >> Sometimes we don't need a full cell for each value. This provides >> a simple function to read a byte array, both with and without >> copying it. > >> +const u8 *fdtdec_locate_byte_array(const void *blob, int node, >> + const char *prop_name, int count) >> +{ >> + const u8 *cell; >> + int err; >> + >> + cell = get_prop_len(blob, node, prop_name, count, &err); > > Isn't that called get_prop_check_min_len() now?
It depends on your definition of 'now'. I will of course rebase this series and test once the usb one is ready. At present it is probably based on the original v1 usb series. But there may be other changes too... Regards, Simon > >> + if (err) >> + return NULL; >> + return cell; >> +} > > -- > nvpublic _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot