[PATCH] ARM: imx6: hipercam: set default hostname in boardfile
Lucas Stach
l.stach at pengutronix.de
Mon Jun 1 05:52:09 PDT 2015
Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
arch/arm/boards/eltec-hipercam/board.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boards/eltec-hipercam/board.c b/arch/arm/boards/eltec-hipercam/board.c
index 7486747..04ad253 100644
--- a/arch/arm/boards/eltec-hipercam/board.c
+++ b/arch/arm/boards/eltec-hipercam/board.c
@@ -26,6 +26,8 @@ static int hipercam_init(void)
imx6_bbu_internal_spi_i2c_register_handler("nor", "/dev/m25p0.barebox",
BBU_HANDLER_FLAG_DEFAULT);
+ barebox_set_hostname("hipercam");
+
return 0;
}
device_initcall(hipercam_init);
--
2.1.0
More information about the barebox
mailing list