mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-02 16:52:52 +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) };
|
_resumed = { devices.attribute_value("resumed", 0u) };
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The decision which fb driver to start depends on information
|
* The decision which fb driver to start might depend (e.g. on PC)
|
||||||
* about available devices from both the devices ROM and the
|
* on information about available devices from both the devices ROM
|
||||||
* platform info ROM, so we skip the update if the devices ROM
|
* and the platform info ROM, so we skip the update if the devices
|
||||||
* is not ready yet.
|
* 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());
|
_fb_driver.update(_children, _board_info, _platform.xml());
|
||||||
|
|
||||||
_ps2_driver .update(_children, _board_info);
|
_ps2_driver .update(_children, _board_info);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user