Hi Dave, > I'm basically in agreement with you here, and just want to suggest you can > avoid an awful lot of code duplication by doing something like > > #ifdef REG_OK_STRICT > #define ${CPU}_IS_STRICT 1 > #else > #define ${CPU}_IS_STRICT 0 > #endif
Sure. In fact, the FRV port and possible others have already started doing this like so: #ifdef REG_OK_STRICT #define REG_OK_STRICT_P 1 #else #define REG_OK_STRICT_P 0 #endif Kazu Hirata