Dear Wolfgang Denk,
Dear Chander Kashyap,
In message <CANuQgHGGaB3fWEFCXfgd97QxOfnizxLYvO8ke-v=5PzHyTN-Jg@mail.gmail.com> you wrote:
>
[200+ lines of unrelated quote deleted.]
Well, as you can see yourself here, an external reviewer has no
> > > +void copy_uboot_to_ram(void)
> > > +{
> > > + copy_sd_mmc_to_mem copy_bl2 = (copy_sd_mmc_to_mem)*(u32 *)(0x02020030);
> > > + copy_bl2(BL2_START_OFFSET,\
> > > + BL2_SIZE_BLOC_COUNT, (u32 *)CONFIG_SYS_TEXT_BASE);
> > > +}
> >
> > Curious to know, what the 0x02020030 hardcoding number means here?
> > It is a pointer to a API or hardware register, or anything else, how
> > this simple function perform the
> > data transfer from mmc to ram?
> >
> > 0x02020030 is iROM address, which contains pointer to API (copy from mmc
> from DDR) in iROM.
chance to reand and understand this code. As mentioned before, this
needs serious rework.
Those who hate and fight must stop themselves -- otherwise it is not
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
stopped.
-- Spock, "Day of the Dove", stardate unknown