discover: check config.boot_device before setting a default
authorJeremy Kerr <jk@ozlabs.org>
Wed, 30 Apr 2014 02:58:43 +0000 (10:58 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 21 Jul 2014 09:20:08 +0000 (17:20 +0800)
commit1860aac29624b1cb292a7ca549dc063bcd3f9bb6
treee26898762a34d66219fcfbbadb9e0a5865fa493b
parente19c5fe83174de749843bb8486a0d12c25adcb82
discover: check config.boot_device before setting a default

If a default device is set, we only allow booting from that device.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/device-handler.c
discover/platform.c
lib/pb-protocol/pb-protocol.c