Don't abort when reading config in OMAP4 fb driver

Just use configuration values when existent, otherwise when no configuration
is given use the default values. When an incomplete configuration is given,
take the supplied ones, and for the rest the default ones. Fix #762
This commit is contained in:
Stefan Kalkowski 2013-06-05 14:32:19 +02:00 committed by Norman Feske
parent 37856a0ad0
commit 125d55ce71
1 changed files with 1 additions and 5 deletions

View File

@ -109,11 +109,7 @@ int main(int, char **)
output = Driver::OUTPUT_LCD;
}
}
catch (Genode::Xml_node::Nonexistent_attribute) {
PERR("incorrect configuration, aborting");
throw Root::Invalid_args();
}
catch (Genode::Xml_node::Nonexistent_sub_node) {
catch (...) {
PDBG("using default configuration: HDMI@%dx%d", width, height);
}