e520a51df1
The Raspberry Pi NIC has no EEPROM to hold the MAC address. The platform firmware (e.g. UEFI or U-Boot) will typically obtain the MAC address from the VideoCore firmware and add it to the device tree, which is then made available to subsequent programs such as iPXE or the Linux kernel. Add the ability to parse a flattened device tree and to extract the MAC address. Signed-off-by: Michael Brown <mcb30@ipxe.org>
17 lines
231 B
C
17 lines
231 B
C
#ifndef CONFIG_FDT_H
|
|
#define CONFIG_FDT_H
|
|
|
|
/** @file
|
|
*
|
|
* Flattened Device Tree configuration
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
|
|
|
#include <config/defaults.h>
|
|
|
|
#include <config/local/fdt.h>
|
|
|
|
#endif /* CONFIG_FDT_H */
|