From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 27 Jan 2015 15:08:43 +0100 Subject: [U-Boot] [U-Boot, v2] spl: Change debug to printf for "Unsupported boot-device" In-Reply-To: References: <1415729035-9765-1-git-send-email-sr@denx.de> <20141124221056.GQ21184@bill-the-cat> Message-ID: <54C79BEB.2030309@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 Hi Michal, On 27.01.2015 14:43, Michal Simek wrote: > On Tue, Nov 11, 2014 at 07:03:55PM +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: Wolfgang Denk > > > Cc: Tom Rini > > > Acked-by: Heiko Schocher > > > Applied to u-boot/master, thanks! > > > This patch is causing problem on Microblaze because SPL exceed 4k limit. > It is only one printf which is called in entire SPL that's why this should > be solved a little bit differently. Ups. Yes, sorry. This one line definitely shouldn't cause all the printf stuff to be included. I'll try to address this quickly... Thanks, Stefan