diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2014-04-06 20:48:31 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-06-24 08:25:03 +0200 |
commit | 90256ab9081b13a423a9743243e711016aee4c69 (patch) | |
tree | 7e61e60eb25533aae4c9f2a99b0f26d5d97e02cf /arch/arm/mach-mvebu | |
parent | 9313920df6d3d55fbd03ce8ec1c0da9a10c29824 (diff) | |
download | barebox-90256ab9081b13a423a9743243e711016aee4c69.tar.gz barebox-90256ab9081b13a423a9743243e711016aee4c69.tar.xz |
ARM: mvebu: set model and default hostname for Dove
Set default model and hostname based on SoC name.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Diffstat (limited to 'arch/arm/mach-mvebu')
-rw-r--r-- | arch/arm/mach-mvebu/dove.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/dove.c b/arch/arm/mach-mvebu/dove.c index f081e50e7b..bcbf4b8ad7 100644 --- a/arch/arm/mach-mvebu/dove.c +++ b/arch/arm/mach-mvebu/dove.c @@ -71,6 +71,9 @@ static int dove_init_soc(void) { unsigned long phys_base, phys_size; + barebox_set_model("Marvell Dove"); + barebox_set_hostname("dove"); + dove_remap_mc_regs(); dove_memory_find(&phys_base, &phys_size); arm_add_mem_device("ram0", phys_base, phys_size); |