[U-Boot] [PATCH] AT91: Defer Dataflash access to env_relocate_spec

Wolfgang Denk wd at denx.de
Wed Aug 24 23:55:27 CEST 2011


Dear Hong Xu,

In message <1312354896-24951-1-git-send-email-hong.xu at atmel.com> you wrote:
> When env_init is called, the SPI is not actually initialized in U-Boot.
> So that we can not read Dataflash for its content.
> We simply mark it OK for now, and defer the real work to
> `env_relocate_spec'. (Idealy from env_nand.c)
> 
> Signed-off-by: Hong Xu <hong.xu at atmel.com>

How do you then get access for example to the "baudrate" environment
variable, which is needed for initializing the console interface,
which happens long before relocation?

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 at denx.de
"All my life I wanted to be someone; I guess I should have been  more
specific."                                              - Jane Wagner


More information about the U-Boot mailing list