Am 22.02.22 um 12:19 schrieb Ahmad Fatoum:
On 22.02.22 11:48, Juergen Borleis wrote:
Signed-off-by: Juergen Borleis <jbe@xxxxxxxxxxxxxx>
---
arch/arm/boards/webasto-ccbv2/board.c | 6 +++++-
arch/arm/boards/webasto-ccbv2/lowlevel.c | 24 ++++++++++++++++++------
images/Makefile.imx | 2 ++
3 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/arch/arm/boards/webasto-ccbv2/board.c b/arch/arm/boards/webasto-ccbv2/board.c
index 4777713..fd6ea6f 100644
--- a/arch/arm/boards/webasto-ccbv2/board.c
+++ b/arch/arm/boards/webasto-ccbv2/board.c
@@ -22,7 +22,10 @@ static int ccbv2_probe(struct device_d *dev)
imx6_bbu_internal_mmcboot_register_handler("emmc", "/dev/mmc1",
BBU_HANDLER_FLAG_DEFAULT);
- barebox_set_hostname("weabsto-ccbv2");
+ if (of_machine_is_compatible("webasto,imx6ul-marvel"))
+ barebox_set_hostname("webasto-marvel");
Nitpick: barebox_set_hostname(device_get_match_data(dev));
If host name is not set by board code, it will be automatically generated by barebox from devicetree
compatible.
--
Regards,
Oleksij
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox