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>
1 parent 66b3a1b commit b1a52928e7bf4126bbe014ee434bd91c4f804bba
@Jan Remmet Jan Remmet authored on 19 Jun 2015
Marc Kleine-Budde committed on 21 Jun 2015
Showing 1 changed file
View
src/libdt.c