
Dear Poonam,
In message 1BD5CFC378ED0946B688E0C9BA2EF095192DF8@zin33exm24.fsl.freescale.net you wrote:
So I always recomment to enable the feature - unless you really have to save a few milliseconds on boot time.
In that case the API can be really useful. May be I can send the modifucation to use this API later. Because using it is not quite straight formward on PowerPC. Since I need
Please explain why - we've been using this on PowerPC (where it has been implemented right in the beginning) for more than 9 years now, without ever finding it difficult.
+P2020RDB_config: unconfig
- @mkdir -p $(obj)include
- @echo "#define CONFIG_MP" >>$(obj)include/config.h ;
- @$(XECHO) "... setting CONFIG_MP." ;
Is this really needed? I'd like to keep such stuff out of the Makefile.
This would be useful in our case, because the file include/configgs/P1_P2_RDB.h is intended to be used for more than one platforms, viz P2020RDB, P1020RDB, P1010RDB , etc. Of them some are dual core and some are single core. CONFIG_MP would be required for dual core ones.
We agree about the purpose, but not about the implementation. Please move this logic intot he board config file. I don't want to see so many lines of "scripting" in the top level Makefile.
+#define DATARATE_400MHZ 400000000 +#define DATARATE_534MHZ 534000000
534 MHz? Not 533.333 = 4 x 133.333 ?
You did not comment this one.
...
Maybe Freescale should come up with a common set of setting for all (or at least many) boards, similar to what we have in include/configs/amcc-common.h ?
A very good suggestion!, This will save us from maintaining the redundant stuff at many places. May be this change would not be possible immediately, as we need the P2020RDB board support in mainline quickly at the moment.
Well, it will not got in before the next merge window opens, which means not before September. Which leaves you with at least 4 weeks of time for such a cleanup.
Best regards,
Wolfgang Denk