On Wed 30 Jun 2010 00:08, [email protected] pondered: > Revision > 8957<http://blackfin.uclinux.org/gf/project/linux-kernel/scmsvn/?action=browse&path=/&view=rev&root=linux-kernel&revision=8957> > Author > bhsong<http://blackfin.uclinux.org/gf/user/bhsong/> > Date > 2010-06-30 00:08:30 -0400 (Wed, 30 Jun 2010) > Log Message > > [#5476]<http://blackfin.uclinux.org/gf/tracker/5476> always execute soft > reset except bf526 0.1 and later version > > Modified Paths > > * trunk/arch/blackfin/kernel/reboot.c > > Diff > Modified: trunk/arch/blackfin/kernel/reboot.c (8956 => 8957) > > > --- trunk/arch/blackfin/kernel/reboot.c 2010-06-30 03:59:06 UTC (rev 8956) > +++ trunk/arch/blackfin/kernel/reboot.c 2010-06-30 04:08:30 UTC (rev 8957) > @@ -38,7 +38,7 @@ > * reset normally even though their anomaly lists don't > * include ANOMALY_05000353 and ANOMALY_05000386. > */ > - if (1/* ANOMALY_05000353 || ANOMALY_05000386 */) { > + if (!((bfin_cpuid() == 0x27e4) && (bfin_revid() > 0))) { > /* Initiate System software reset. */ > bfin_write_SWRST(0x7);
It's the best way to just change the define in arch/blackfin/mach-bf527/include/mach/anomaly.h -#define ANOMALY_05000353 (_ANOMALY_BF526(< 1)) +#define ANOMALY_05000353 (_ANOMALY_BF526(> 0)) ? _______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
