diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2016-06-17 15:06:01 +0300 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2016-06-17 16:15:30 +0300 |
commit | c0026dd80f0cb26a0b32169e66837ea30796f218 (patch) | |
tree | a6d2538ffc5ae4567e6053509f6dd5565fbf086e /platform/msm_shared/include/dev_tree.h | |
parent | 2740fc8aeb78bb2e012f63f6d500f3133139c504 (diff) |
aboot: set local-mac-address in DTSdebian-qcom-dragonboard410c-LA.BR.1.2.4-00310-8x16.0-linaro2release/LA.BR.1.2.4-00310-8x16.0
Set local-mac-address for the WCNSS node, if not set already. To set it, we rely
on the unique SN provided the target library (typicall the eMMC CID).
The SN is formatted as an 8-char number with leading zero's if needed. The MAC
address is formed by adding '20:00' in front of the SN number to make sure that
we use a MAC address from the locally adminstrated pool.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'platform/msm_shared/include/dev_tree.h')
-rwxr-xr-x | platform/msm_shared/include/dev_tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/msm_shared/include/dev_tree.h b/platform/msm_shared/include/dev_tree.h index 04ce64d3..33d38e44 100755 --- a/platform/msm_shared/include/dev_tree.h +++ b/platform/msm_shared/include/dev_tree.h @@ -140,7 +140,7 @@ typedef struct dt_entry_node { int dev_tree_validate(struct dt_table *table, unsigned int page_size, uint32_t *dt_hdr_size); int dev_tree_get_entry_info(struct dt_table *table, struct dt_entry *dt_entry_info); -int update_device_tree(void *fdt, const char *, void *, unsigned); +int update_device_tree(void *fdt, const char *, void *, unsigned, unsigned char*); int dev_tree_add_mem_info(void *fdt, uint32_t offset, uint64_t size, uint64_t addr); void *dev_tree_appended(void *kernel, uint32_t kernel_size, void *tags); #endif |