diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-30 22:20:25 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-31 18:43:24 +0200 |
commit | 1accb5ecdd59e255f01b98b837138c553582ab4c (patch) | |
tree | a3f099edc394552d95721ba0cf32cbad06bc7797 /common/partitions.c | |
parent | 4031a17fa01902363929c818dcab4aed3881e7ad (diff) | |
download | barebox-1accb5ecdd59e255f01b98b837138c553582ab4c.tar.gz barebox-1accb5ecdd59e255f01b98b837138c553582ab4c.tar.xz |
of: partition: only create partition node when partitions exist
With the legacy partition binding we did not modify the device
node when no partition exist, but with the new binding we would
create the "partitions" node with compatible = "fixed-partitions".
Prevent that by catching the absence of partitions early.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/partitions.c')
0 files changed, 0 insertions, 0 deletions