libdt: fix detection of eeprom devicepath
If nodepath can directly be translated to a device, the device can also be a eeprom. Set default size to 0. The real size can be got from the path. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> |
---|
|
src/libdt.c |
---|