[U-Boot] [PATCH 1/3] powerpc: common updates for keymile boards

Heiko Schocher hs at denx.de
Wed Mar 11 19:38:15 CET 2009


Hello Kim,

Kim Phillips wrote:
> On Wed, 11 Mar 2009 09:04:39 +0100
> Heiko Schocher <hs at denx.de> wrote:
> 
>> - added to keymile-common.h:
>>   - bootcount support for kmeter1
> 
> I don't see this.

diff --git a/include/configs/keymile-common.h b/include/configs/keymile-common.h
index c7f6ba3..f1bcb46 100644
--- a/include/configs/keymile-common.h
+++ b/include/configs/keymile-common.h
@@ -27,9 +27,7 @@
 /* Do boardspecific init for all boards */
 #define CONFIG_BOARD_EARLY_INIT_R       1

-#if defined(CONFIG_MGCOGE) || defined(CONFIG_MGSUVD)
 #define CONFIG_BOOTCOUNT_LIMIT
-#endif

 /*
  * Command line configuration.

with deleting the "-#if defined(CONFIG_MGCOGE) || defined(CONFIG_MGSUVD)"
line it is also activated for the kmeter1

>> diff --git a/include/configs/kmeter1.h b/include/configs/kmeter1.h
>> index 49a801f..f7fc6c5 100644
>> --- a/include/configs/kmeter1.h
>> +++ b/include/configs/kmeter1.h
>> @@ -33,6 +33,7 @@
>>  /* include common defines/options for all Keymile boards */
>>  #include "keymile-common.h"
>>
>> +#undef CONFIG_SYS_I2C_INIT_BOARD
> 
> personally, I'd favour setting this in the individual board configs,
> rather than #defining and then #undefing it in the less common
> case.  But they're your boards, and thus ultimately your call.

The "#undef CONFIG_SYS_I2C_INIT_BOARD" will go away in the next
release after 2009.03 (hopefully) so it is again a common option
for all keymile boards. But because it is a new feature for fsl_i2c
I post it in the next merge window.

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list