[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-2.9 26/30] aspeed/smc: use flash model optio
From: |
Cédric Le Goater |
Subject: |
Re: [Qemu-devel] [PATCH for-2.9 26/30] aspeed/smc: use flash model option |
Date: |
Wed, 30 Nov 2016 17:26:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 11/29/2016 04:44 PM, Cédric Le Goater wrote:
> so that we can change the flash model from the command line.
After kevin input on this topic, we should drop patch 25 and 26.
Thanks,
C.
> Signed-off-by: Cédric Le Goater <address@hidden>
> Reviewed-by: Joel Stanley <address@hidden>
> ---
> hw/arm/aspeed.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c
> index a92c2f1c362b..f4232ce42cd0 100644
> --- a/hw/arm/aspeed.c
> +++ b/hw/arm/aspeed.c
> @@ -138,6 +138,8 @@ static void aspeed_board_init_flashes(AspeedSMCState *s,
> const char *flashtype,
> DriveInfo *dinfo = drive_get_next(IF_MTD);
> qemu_irq cs_line;
>
> + flashtype = dinfo && dinfo->model ? dinfo->model : flashtype;
> +
> /*
> * FIXME: check that we are not using a flash module exceeding
> * the controller segment size
>
[Qemu-devel] [PATCH for-2.9 26/30] aspeed/smc: use flash model option, Cédric Le Goater, 2016/11/29
- Re: [Qemu-devel] [PATCH for-2.9 26/30] aspeed/smc: use flash model option,
Cédric Le Goater <=
[Qemu-devel] [PATCH for-2.9 27/30] wdt: Add Aspeed watchdog device model, Cédric Le Goater, 2016/11/29
[Qemu-devel] [PATCH for-2.9 28/30] aspeed: add a watchdog controller, Cédric Le Goater, 2016/11/29
[Qemu-devel] [PATCH for-2.9 29/30] aspeed/scu: add a aspeed_scu_get_clk() helper, Cédric Le Goater, 2016/11/29
[Qemu-devel] [PATCH for-2.9 29/30] aspeed/scu: add a aspeed_scu_get_clk() helper, Cédric Le Goater, 2016/11/29