mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
base-hw: export board name in platform info
We need to differentiate the board within the SoC generic platform driver. Therefore, export its name within the platform info ROM. Ref issue#5360
This commit is contained in:
parent
e0874baa8f
commit
e344fa8c23
@ -62,6 +62,8 @@ SRC_CC += capability.cc
|
||||
SRC_CC += stack_area_addr.cc
|
||||
SRC_CC += heartbeat.cc
|
||||
|
||||
CC_OPT_platform += -DBOARD_NAME="\"$(BOARD)\""
|
||||
|
||||
# provide Genode version information
|
||||
include $(BASE_DIR)/src/core/version.inc
|
||||
|
||||
|
@ -161,6 +161,9 @@ void Platform::_init_platform_info()
|
||||
xml.attribute("acpi", true);
|
||||
xml.attribute("msi", true);
|
||||
});
|
||||
xml.node("board", [&] {
|
||||
xml.attribute("name", BOARD_NAME);
|
||||
});
|
||||
_init_additional_platform_info(xml);
|
||||
xml.node("affinity-space", [&] {
|
||||
xml.attribute("width", affinity_space().width());
|
||||
|
Loading…
Reference in New Issue
Block a user