Re: [Qemu-devel] [PATCH 1/3] pflash_cfi01: add pflash_cfi01_init

2015-09-27 Thread Max Filippov
On Sun, Sep 27, 2015 at 9:32 PM, Peter Crosthwaite wrote: > On Sun, Sep 27, 2015 at 10:51 AM, Max Filippov wrote: >> On Sun, Sep 27, 2015 at 8:25 PM, Peter Crosthwaite >> wrote: >>> On Sun, Sep 27, 2015 at 10:16 AM, Max Filippov wrote: pflash_cfi01_register always registers FLASH to the de

Re: [Qemu-devel] [PATCH 1/3] pflash_cfi01: add pflash_cfi01_init

2015-09-27 Thread Peter Crosthwaite
On Sun, Sep 27, 2015 at 10:51 AM, Max Filippov wrote: > On Sun, Sep 27, 2015 at 8:25 PM, Peter Crosthwaite > wrote: >> On Sun, Sep 27, 2015 at 10:16 AM, Max Filippov wrote: >>> pflash_cfi01_register always registers FLASH to the default >>> system_memory region, which may not always be the right

Re: [Qemu-devel] [PATCH 1/3] pflash_cfi01: add pflash_cfi01_init

2015-09-27 Thread Max Filippov
On Sun, Sep 27, 2015 at 8:25 PM, Peter Crosthwaite wrote: > On Sun, Sep 27, 2015 at 10:16 AM, Max Filippov wrote: >> pflash_cfi01_register always registers FLASH to the default >> system_memory region, which may not always be the right thing. >> >> Provide pflash_cfi01_init function that only cre

Re: [Qemu-devel] [PATCH 1/3] pflash_cfi01: add pflash_cfi01_init

2015-09-27 Thread Peter Crosthwaite
On Sun, Sep 27, 2015 at 10:16 AM, Max Filippov wrote: > pflash_cfi01_register always registers FLASH to the default > system_memory region, which may not always be the right thing. > > Provide pflash_cfi01_init function that only creates FLASH device and > sets its properties, leaving MMIO region