diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-28 21:26:54 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-28 21:26:54 +0000 |
commit | 35b6bbb7217956fe29f5d7f29d3ce780f1e640f5 (patch) | |
tree | df9e6309e10de7887d8346c8e1fd2dcc2b1f3e2e /src/northbridge | |
parent | 83a1dd850b9f61929a2db17a9429d3d193e34bfb (diff) |
drop unneeded __ROMCC__ checks when the check for __PRE_RAM__ is more
appropriate. Also, factor out post_code() for __PRE_RAM__ code and drop it from
some mainboards.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5307 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/via/cn400/cn400.h | 2 | ||||
-rw-r--r-- | src/northbridge/via/cn700/cn700.h | 2 | ||||
-rw-r--r-- | src/northbridge/via/vx800/vx800.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/via/cn400/cn400.h b/src/northbridge/via/cn400/cn400.h index 06367db270..3c9e8fd52a 100644 --- a/src/northbridge/via/cn400/cn400.h +++ b/src/northbridge/via/cn400/cn400.h @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef __ROMCC__ +#ifndef __PRE_RAM__ static void cn400_noop(void) { } diff --git a/src/northbridge/via/cn700/cn700.h b/src/northbridge/via/cn700/cn700.h index 400aaf308a..df139cef35 100644 --- a/src/northbridge/via/cn700/cn700.h +++ b/src/northbridge/via/cn700/cn700.h @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#if !defined (__ROMCC__) && !defined (__PRE_RAM__) +#if !defined (__PRE_RAM__) static void cn700_noop() { } diff --git a/src/northbridge/via/vx800/vx800.h b/src/northbridge/via/vx800/vx800.h index f23974342e..5e1c4df205 100644 --- a/src/northbridge/via/vx800/vx800.h +++ b/src/northbridge/via/vx800/vx800.h @@ -20,7 +20,7 @@ #ifndef VX800_H #define VX800_H 1 -#ifndef __ROMCC__ +#ifndef __PRE_RAM__ static void vx800_noop() { } |