From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Wed, 17 Jan 2018 23:08:24 +0100 Subject: [U-Boot] [PATCH v2 7/7] rpi: Force skip_init on serial devices In-Reply-To: References: <20180117085458.27293-1-agraf@suse.de> <20180117085458.27293-8-agraf@suse.de> Message-ID: <75ee5705-c1d0-ce82-e2db-478aeb6398e8@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 17.01.18 20:40, Simon Glass wrote: > Hi Alex, > > On 17 January 2018 at 00:54, Alexander Graf wrote: >> The serial devices on the raspberry pi are based on clocks we can't easily >> read and influence in U-Boot. However, the serial devices are always already >> properly set up when coming up, so all we need to do is leave them alone. >> >> The way to do that is to specify "skip-init" in device tree usually, but >> if we set CONFIG_OF_BOARD to get the device tree from the RPi firmware, >> that does not have skip-init properly set. >> >> So instead we just force it in board specific code. That way serial devices >> also work fine when skip-init is not passed explicitly in DT. >> >> Signed-off-by: Alexander Graf >> --- >> board/raspberrypi/rpi/rpi.c | 7 +++++++ >> drivers/serial/serial_bcm283x_mu.c | 2 +- >> drivers/serial/serial_pl01x.c | 2 +- >> 3 files changed, 9 insertions(+), 2 deletions(-) > > Would you mind converting these drivers to livetree before adding these patches? Uh, why? I don't quite see how it's related - and I'm not sure I'll make the rc1 cut-off even with just the pile I have right now :) Alex