Re: [U-Boot] [PATCH] tegra20: add assembly wrapper for lowlevel_init()

2012-08-08 Thread Tom Rini
On 08/08/2012 12:44 PM, Wolfgang Denk wrote: > Dear Allen Martin, > > In message <138286-14144-1-git-send-email-amar...@nvidia.com> you wrote: >> lowlevel_init() is called before stack is initialized, so it's not >> safe to call directly into C code. Copy this wrapper from omap that >> saves

Re: [U-Boot] [PATCH] tegra20: add assembly wrapper for lowlevel_init()

2012-08-08 Thread Wolfgang Denk
Dear Allen Martin, In message <138286-14144-1-git-send-email-amar...@nvidia.com> you wrote: > lowlevel_init() is called before stack is initialized, so it's not > safe to call directly into C code. Copy this wrapper from omap that > saves off the ip register and sets up a temporary stack. Th

[U-Boot] [PATCH] tegra20: add assembly wrapper for lowlevel_init()

2012-08-08 Thread Allen Martin
lowlevel_init() is called before stack is initialized, so it's not safe to call directly into C code. Copy this wrapper from omap that saves off the ip register and sets up a temporary stack. This fixes a hang using CodeSourcery toolchain. Signed-off-by: Allen Martin --- arch/arm/cpu/armv7/teg