Re: [Qemu-devel] [PATCH v6 02/15] target-tricore: Add board for systemmode

2014-08-29 Thread Peter Maydell
On 29 August 2014 20:00, Bastian Koppelmann wrote: > Hi Peter, > > > On 08/29/2014 03:30 PM, Peter Maydell wrote: >> Don't use pflash_cfi01_register() in new code, it gives you a >> weird not-like-hardware flash device that we only have for >> backwards compatibility with existing board models. In

Re: [Qemu-devel] [PATCH v6 02/15] target-tricore: Add board for systemmode

2014-08-29 Thread Bastian Koppelmann
Hi Peter, On 08/29/2014 03:30 PM, Peter Maydell wrote: + +dinfo = drive_get(IF_PFLASH, 0, 0); +if (!pflash_cfi01_register(TRICORE_FLASH_ADDR, NULL, + "tricore_testboard.flash", + TRICORE_FLASH_SIZE, dinfo ? dinfo->bdrv : NULL, +

Re: [Qemu-devel] [PATCH v6 02/15] target-tricore: Add board for systemmode

2014-08-29 Thread Peter Maydell
On 22 August 2014 17:52, Bastian Koppelmann wrote: > Add basic board to allow systemmode emulation > > Signed-off-by: Bastian Koppelmann > --- > v5 -> v6: > - tricore_testboard: Fix machine name containing blanks. > > hw/tricore/Makefile.objs | 1 + > hw/tricore/tricore_testboard.c |

[Qemu-devel] [PATCH v6 02/15] target-tricore: Add board for systemmode

2014-08-22 Thread Bastian Koppelmann
Add basic board to allow systemmode emulation Signed-off-by: Bastian Koppelmann --- v5 -> v6: - tricore_testboard: Fix machine name containing blanks. hw/tricore/Makefile.objs | 1 + hw/tricore/tricore_testboard.c | 129 + include/hw/tricore/t