On Monday, September 26, 2011 20:10:39 Simon Glass wrote: > --- /dev/null > +++ b/arch/sandbox/cpu/cpu.c > > +int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) > +{ > + /* > + * This is considered normal termination for now. We wil call os_exit() > + * when available. > + */ > + return 0; > +}
os_exit(0) ? > +int cleanup_before_linux(void) > +{ > + return 0; > +} this is an ARM wart ... drop it > +void *map_physmem(phys_addr_t paddr, unsigned long len, unsigned long > flags) > +{ > + return (void *)(gd->ram_buf + paddr); > +} please add a comment as to why you need this trickery -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot