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:
parent
9313920df6
commit
90256ab908
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue