
In message 20030623212553.GA10209@zumanetworks.com you wrote:
shouldn't the ifdef depend on ENV_IS_EMBEDDED? If that is set, even in the ICU862 case, nothing in environment.c gets compiled (ALL of the code is ifdef'ed out), and "environment" will be unresolved..
ENV_IS_EMBEDDED? is not set on the ICU862 board, since the environment is located after the end of the U-Boot image, but not embedded within it.
The #ifdef in "cpu/mpc8xx/start.S" makes sure that clear_bss() does not attempt to clear any memory that belongs to the environment.
but only if ENV_IS_EMBEDDED is NOT set... unless i'm missing something obvious?
I see no discrepancy - ENV_IS_EMBEDDED is NOT set for ICU862
Split it now, and submit any stable parts of it.
Too much is tangled together, i will try, but it doesn't look good.
I know how that feels. Split splittable parts, then.
Best regards,
Wolfgang Denk