upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
436 B
16 lines
436 B
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2016 General Electric Company
|
|
*/
|
|
|
|
#include "common.h"
|
|
|
|
/*
|
|
* Read VPD from given data, verify content, and call callback
|
|
* for each vital product data block.
|
|
*
|
|
* Returns Non-zero on error. Negative numbers encode errno.
|
|
*/
|
|
int vpd_reader(size_t size, u8 *data, void *userdata,
|
|
int (*fn)(void *userdata, u8 id, u8 version, u8 type,
|
|
size_t size, u8 const *data));
|
|
|