diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2024-02-20 10:30:59 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-02-23 08:30:31 +0100 |
commit | 66e62c636f37bfcae3747654de47ad42c625b420 (patch) | |
tree | edf20095b55fbe3f41963d4e0e718b526de6d32d | |
parent | 433b8dce29c7c52cf8dd496cfeebb55983c81232 (diff) | |
download | barebox-66e62c636f37.tar.gz barebox-66e62c636f37.tar.xz |
ARM: at91: skov-arm9cpu: configure more appropriate hostname
The default logic would set the hostname to arm9-cpu, which isn't very
descriptive. Set our own hostname that contains the vendor name.
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20240220093100.1539120-14-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/boards/skov-arm9cpu/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boards/skov-arm9cpu/board.c b/arch/arm/boards/skov-arm9cpu/board.c index 1d0ecb247d..db6813c0e7 100644 --- a/arch/arm/boards/skov-arm9cpu/board.c +++ b/arch/arm/boards/skov-arm9cpu/board.c @@ -56,6 +56,8 @@ static int mem; */ static int skov_arm9_probe(struct device *dev) { + barebox_set_hostname("skov-arm9cpu"); + add_generic_device("at91sam9-smc", 0, NULL, AT91SAM9263_BASE_SMC0, 0x200, IORESOURCE_MEM, NULL); add_generic_device("at91sam9-smc", 1, NULL, AT91SAM9263_BASE_SMC1, 0x200, |