qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/1] highbank: set default power domain register


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 1/1] highbank: set default power domain register
Date: Sun, 17 Feb 2013 01:02:47 +0000

On 16 February 2013 22:27, Jean-Christophe PLAGNIOL-VILLARD
<address@hidden> wrote:
> at 0xfff3cf20 enable SATA, MMC, PCI

This commit message is way too cryptic.

> c: Rob Herring <address@hidden>

You typo'd "cc" here so git didn't auto-cc Rob; I've added him to the
cc list by hand.

> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <address@hidden>
> ---
>  hw/highbank.c |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/hw/highbank.c b/hw/highbank.c
> index defcc09..64aef30 100644
> --- a/hw/highbank.c
> +++ b/hw/highbank.c
> @@ -143,6 +143,7 @@ static void highbank_regs_reset(DeviceState *dev)
>      s->regs[0x41] = 0x2;
>      s->regs[0x42] = 0x05F30121;
>      s->regs[0x43] = 0x05F40121;
> +    s->regs[0x3C8] = 0xE0000000;
>  }
>
>  static int highbank_regs_init(SysBusDevice *dev)
> @@ -153,6 +154,7 @@ static int highbank_regs_init(SysBusDevice *dev)
>      memory_region_init_io(s->iomem, &hb_mem_ops, s->regs, "highbank_regs",
>                            0x1000);
>      sysbus_init_mmio(dev, s->iomem);
> +    s->regs[0x3C8] = 0xE0000000;

This line is definitely unnecessary -- the reset function will
be called after init.

>      return 0;
>  }
> --
> 1.7.10.4
>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]