[U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

Joakim Tjernlund
2010-11-04T12:58:26Z

Wolfgang Denk <wd@denx.de> wrote on 2010/11/04 13:46:17:
>
> Dear Joakim Tjernlund,
>
> In message <OF18CA6215.DC3A539B-ONC12577D1.00439A8B-C12577D1.0043BB01@transmode.se> you wrote:
> >
> > > What exactly is a "soft reset" in U-Boot? And how would you perform
> > > one?
> >
> > Not in u-boot, but Linux or a privileged linux app. could.
>
> Could do what? Modify the memory map such that the Flash is mapped

Issue an soft reset somehow. Don't know how but I guessing it is possible?
If so the CPU would use reset vector 0x110 instead of 0x100(still guessing here)

> as it was (eventually) when U-Boot is running, and then jump right in
> the middle of nowhere?
>
> That would be invoking undefined behaviour in it's purest form.
>
> Anything can happen then.