From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b67Al-00009h-Tb for qemu-devel@nongnu.org; Thu, 26 May 2016 22:06:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b67Ak-0001ig-S7 for qemu-devel@nongnu.org; Thu, 26 May 2016 22:06:47 -0400 References: <1464173896-4088-1-git-send-email-zxq_yx_007@163.com> <1464173896-4088-2-git-send-email-zxq_yx_007@163.com> From: xiaoqiang zhao Message-ID: <5747AB8C.7040502@163.com> Date: Fri, 27 May 2016 10:06:04 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 1/6] hw/char: QOM'ify pl011 model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Rob Herring , Peter Crosthwaite , Markus Armbruster , QEMU Developers , Alistair Francis , qemu-arm , =?UTF-8?B?0JDQvdGC0L7QvSDQn9Cw0LLQu9C+0LI=?= , "Edgar E. Iglesias" , Paolo Bonzini 在 2016年05月25日 21:08, Peter Maydell 写道: >> - >> > /* AUX / UART1 */ >> >- /* TODO: don't call qemu_char_get_next_serial() here, instead set >> >- * chardev properties for each uart at the board level, once pl011 >> >- * (uart0) has been updated to avoid qemu_char_get_next_serial() >> >- */ > This comment says this should be fixed by having board-level > properties; you've removed it but this patch isn't adding > the properties to this (SoC-level) device. I think the board > level should be looking at serial_hds[], not this code. > Hi, Peter: I found bcm2835-peripherals is only used by bcm2836 code, you mean this(bcm2836) is the 'board level' and I should set chardev properties here ? Thanks.