
Dear Peter Tyser,
In message 1235491846.19570.71.camel@localhost.localdomain you wrote:
Is there a reason we can't just move the dtt_init() call to after relocation to RAM for both the cases with and without CONFIG_POST defined? If some POST relies on the temperature sensors being initialized it seems cleaner to change the POST to run after relocation than add more ifdefery to common code.
The only temperature dependent code I am aware of in the POST context does not make use of the DTT code, so moving DTT initialization after relocation to RAM should not be a problem.
Unconditionally moving dtt_init() to after relocation would also allow dtt drivers to use global variables, etc (which it just so happens an lm90-type driver I'm working on requires:).
Agreed.
Best regards,
Wolfgang Denk