9
0
Fork 0

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>
This commit is contained in:
Sebastian Hesselbarth 2014-04-06 20:48:31 +02:00 committed by Sascha Hauer
parent 9313920df6
commit 90256ab908
1 changed files with 3 additions and 0 deletions

View File

@ -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);