From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 11 Nov 2014 17:19:37 +0100 Subject: [U-Boot] [PATCH] spl: Change debug to printf for "Unsupported boot-device" In-Reply-To: <20141111161622.GA24724@bill-the-cat> References: <1415721553-700-1-git-send-email-sr@denx.de> <20141111161622.GA24724@bill-the-cat> Message-ID: <54623719.2080204@denx.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 11.11.2014 17:16, Tom Rini wrote: > On Tue, Nov 11, 2014 at 04:59:13PM +0100, Stefan Roese wrote: > >> We had the problem on an AM33xx platform, that SPL detected an >> unsupported boot-device. But since this message is a debug message >> it took a bit of time to really know, where the hangup in SPL >> resulted from. So let's change this debug message to a printf >> and also print the detected boot-device that is not supported. >> This makes debugging of such cases much easier. >> >> Signed-off-by: Stefan Roese >> Cc: Tom Rini > > Did you build all of ARM with this? I _think_ this may break the > davinci/related boards that use SPL since they don't have printf due to > size. Yes, might be the case. I'm running the build for all ARM board right now. Will let you know if this breaks anything. Thanks, Stefan