aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/vx900/vx900.h
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-06-10 15:47:25 -0500
committerRonald G. Minnich <rminnich@gmail.com>2013-06-10 23:11:48 +0200
commit560433b4931f30ab23f602911e3e2491a1cbfae1 (patch)
tree7d976d8e885e3183b5f89ae5f823f8a32ac27d0c /src/northbridge/via/vx900/vx900.h
parent37a8a8bd9e9d37da1e899297dbb43c0033cfd6c4 (diff)
VX900: Use MIN/MAX from stdlib.h instead of redefining them
Change-Id: I2dd693b300085493baa65bb652df8d6cce80b63b Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/3431 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/northbridge/via/vx900/vx900.h')
-rw-r--r--src/northbridge/via/vx900/vx900.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/northbridge/via/vx900/vx900.h b/src/northbridge/via/vx900/vx900.h
index b4a77c5b6b..8c0157a3b6 100644
--- a/src/northbridge/via/vx900/vx900.h
+++ b/src/northbridge/via/vx900/vx900.h
@@ -33,9 +33,6 @@
#define VX900_MAX_DIMM_SLOTS 2
#define VX900_MAX_MEM_RANKS 4
-#define min(a,b) (a<b?a:b)
-#define max(a,b) (a>b?a:b)
-
#include <arch/io.h>
#include <device/pci.h>
@@ -54,4 +51,4 @@ void pci_mod_config16(device_t dev, unsigned int where,
void pci_mod_config32(device_t dev, unsigned int where,
uint32_t clr_mask, uint32_t set_mask);
-#endif /* __VX900_H */
+#endif /* __VX900_H */