I'm using spare bytes of the nvram of the RTC chip to determine which of my two
kernels should be booted. Trying to scrip that in u-boot script I'm doing the
following.
1. Load 200010 with 0 (mw.b 200010 0)
2. Load 200014 with value from nvram (i2c read 68 15 1 200014)
3. if cmp.b 200010 200014 1; then run boot0; else run boot1;fi
Is it possible to compare the contents of the memory location with a
constant like if test #200010 == 1; then run boot0; else run boot1;fi
Thanks
S
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot