- First pass at s2880 support.

- SMP cleanups (remove SMP only use CONFIG_SMP)
- Minor tweaks to romcc to keep it from taking forever compiling
- failover fixes
- Get a good implementation of k8_cpufixup and sizeram for the opteron


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@998 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Eric Biederman
2003-07-21 20:13:45 +00:00
parent 6d4512cdf9
commit 2c018fba95
33 changed files with 1512 additions and 268 deletions

View File

@@ -1,7 +1,7 @@
#ifndef SMP_ATOMIC_H
#define SMP_ATOMIC_H
#ifdef SMP
#ifdef CONFIG_SMP
#include <arch/smp/atomic.h>
#else
@@ -48,6 +48,6 @@ typedef struct { int counter; } atomic_t;
#define atomic_dec(v) (((v)->counter)--)
#endif /* SMP */
#endif /* CONFIG_SMP */
#endif /* SMP_ATOMIC_H */

View File

@@ -1,9 +1,9 @@
#ifndef SMP_SPINLOCK_H
#define SMP_SPINLOCK_H
#ifdef SMP
#ifdef CONFIG_SMP
#include <arch/smp/spinlock.h>
#else /* !SMP */
#else /* !CONFIG_SMP */
/* Most GCC versions have a nasty bug with empty initializers */
#if (__GNUC__ > 2)