Re: [U-Boot] [PATCH v2 2/2] powerpc/8xxx: Add new hwconfig APIs to address early parsing used by DDR init

2011-01-18 Thread Wolfgang Denk
Dear Kumar Gala, In message 1294604972-24751-1-git-send-email-ga...@kernel.crashing.org you wrote: There are several users of the hwconfig APIs (8xxx DDR) before we have the environment properly setup. This causes issues because of the numerous ways the environment might be accessed because

Re: [U-Boot] [PATCH v2 2/2] powerpc/8xxx: Add new hwconfig APIs to address early parsing used by DDR init

2011-01-18 Thread Kumar Gala
On Jan 18, 2011, at 4:26 PM, Wolfgang Denk wrote: Dear Kumar Gala, In message 1294604972-24751-1-git-send-email-ga...@kernel.crashing.org you wrote: There are several users of the hwconfig APIs (8xxx DDR) before we have the environment properly setup. This causes issues because of the

Re: [U-Boot] [PATCH v2 2/2] powerpc/8xxx: Add new hwconfig APIs to address early parsing used by DDR init

2011-01-18 Thread Kumar Gala
On Jan 18, 2011, at 4:40 PM, Kumar Gala wrote: If we already know that there is no hwconfig setting in the environment, why do we then need to go through all the hwconfig_sub_f() and hwconfig_subarg_cmp_f() calls below? Can we not short-cut all these? Short cut how? while we could

Re: [U-Boot] [PATCH v2 2/2] powerpc/8xxx: Add new hwconfig APIs to address early parsing used by DDR init

2011-01-17 Thread Kumar Gala
On Jan 9, 2011, at 2:29 PM, Kumar Gala wrote: There are several users of the hwconfig APIs (8xxx DDR) before we have the environment properly setup. This causes issues because of the numerous ways the environment might be accessed because of the non-volatile memory it might be stored in.