mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +00:00
sculpt: consider SoC board info for fb selection
In contrast to platforms, like the PC, where the fb driver selection is a dynamic decision depending on the available hardware, on current ARM-based SoC machines this configuration is part of the static board information. Issue #5174.
This commit is contained in:
parent
084a14b114
commit
10d7427490
@ -68,12 +68,16 @@ class Sculpt::Drivers::Instance : Noncopyable,
|
||||
_resumed = { devices.attribute_value("resumed", 0u) };
|
||||
|
||||
/*
|
||||
* The decision which fb driver to start depends on information
|
||||
* about available devices from both the devices ROM and the
|
||||
* platform info ROM, so we skip the update if the devices ROM
|
||||
* is not ready yet.
|
||||
* The decision which fb driver to start might depend (e.g. on PC)
|
||||
* on information about available devices from both the devices ROM
|
||||
* and the platform info ROM, so we skip the update if the devices
|
||||
* ROM is not ready yet.
|
||||
*
|
||||
* On SoC platforms this information is provided by the static
|
||||
* Board_info::Soc configuration and gets evluated instead to make
|
||||
* the decision.
|
||||
*/
|
||||
if (!devices.has_type("empty"))
|
||||
if (!devices.has_type("empty") || _board_info.soc.fb)
|
||||
_fb_driver.update(_children, _board_info, _platform.xml());
|
||||
|
||||
_ps2_driver .update(_children, _board_info);
|
||||
|
Loading…
Reference in New Issue
Block a user