
In message 59b21cf20808070456vb8452at5717b580b630e7cc@mail.gmail.com you wrote:
+#undef CFG_CLKS_IN_HZ /* everything, incl board info, in Hz */
Please remove that line. Makes no sense to undef what doesn't exist.
Ok (quite a number of board configs have this #undef and some have a #define CFG_CLKS_IN_HZ).
I know, but it makes no sense to copy bad style.
+#undef CONFIG_CMD_IMLS
Why do you want to disable the "imls" command?
Because I get compilation errors from cmd_bootm.c if it's enabled. I haven't checked the details but perhaps it's because there is no NOR flash defined in this config (no NOR present on the PDK board).
Ah! This is an indication of a problem with your board. You rather fix this. "imls" is a standard command, and if you have to disablke it to compile U-Boot, then something is broken.
Best regards,
Wolfgang Denk