diff options
| author | Evan Lojewski <github@meklort.com> | 2020-02-07 23:09:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-07 23:09:54 -0700 |
| commit | b42b100a755035060daab062d109abccd9a2927b (patch) | |
| tree | 876c2c314bc02c87f870eb09f3ff19d68427ae4b /libs/VPD/include | |
| parent | a152612a36408f4160c2ff1d50eb069c2ac4b9a9 (diff) | |
| download | bcm5719-ortega-b42b100a755035060daab062d109abccd9a2927b.tar.gz bcm5719-ortega-b42b100a755035060daab062d109abccd9a2927b.zip | |
vpd: Enable VPD headers to be included in the APE firmware. (#25)
Diffstat (limited to 'libs/VPD/include')
| -rw-r--r-- | libs/VPD/include/vpd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/VPD/include/vpd.h b/libs/VPD/include/vpd.h index 3d6d5ef..138437f 100644 --- a/libs/VPD/include/vpd.h +++ b/libs/VPD/include/vpd.h @@ -83,6 +83,7 @@ typedef union { #define VPD_VENDOR_SPECIFIC_0 "V0" #define VPD_CHECKSUM "RV" +#ifdef CXX_SIMULATOR /* Host libraries required */ const char *vpd_get_field_name(uint16_t field); uint8_t *vpd_get_identifier(uint8_t *buffer, uint32_t *len); @@ -92,3 +93,4 @@ uint8_t *vpd_get_resource_by_index(uint8_t *buffer, uint32_t *len, uint16_t *nam bool vpd_set_resource(uint8_t *buffer, uint32_t len, uint16_t resource, uint8_t *add_data, uint32_t add_len); bool vpd_is_valid(uint8_t *buffer, uint32_t len); +#endif |

