config/powerpc-nvram: Don't require petitboot, prefix on all params
authorJeremy Kerr <jk@ozlabs.org>
Tue, 2 Jul 2013 02:36:47 +0000 (10:36 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 2 Jul 2013 03:44:20 +0000 (11:44 +0800)
commit4a9725bb74e7a05731eff0b9166c4d1e99b7064d
treeae023a3c80e84ddd89eb779e76054d16e355b7f7
parent434a6c9c100bc8daca1e6c41137f993d88f20fe3
config/powerpc-nvram: Don't require petitboot, prefix on all params

Currently, we only store nvram params with a "petitboot," prefix, so
that we don't grow the config list to an unbound size. However,
the "auto-boot?" param has no prefix.

Instead, remove the requirement for the "petitboot," prefix, and use an
array of known parameters instead.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/pb-config/storage-powerpc-nvram.c