diff options
Diffstat (limited to 'discover/platform-powerpc.c')
-rw-r--r-- | discover/platform-powerpc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/discover/platform-powerpc.c b/discover/platform-powerpc.c index 28c081d..a115e34 100644 --- a/discover/platform-powerpc.c +++ b/discover/platform-powerpc.c @@ -692,7 +692,7 @@ static bool probe(struct platform *p, void *ctx) struct stat statbuf; int rc; - /* we need a device tree and a working nvram binary */ + /* we need a device tree */ rc = stat("/proc/device-tree", &statbuf); if (rc) return false; @@ -700,10 +700,6 @@ static bool probe(struct platform *p, void *ctx) if (!S_ISDIR(statbuf.st_mode)) return false; - rc = process_run_simple(ctx, "nvram", "--print-config", NULL); - if (!WIFEXITED(rc) || WEXITSTATUS(rc) != 0) - return false; - platform = talloc(ctx, struct platform_powerpc); list_init(&platform->params); |