summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-06-30 09:40:19 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-07-01 10:15:26 +0200
commit931c1dcec043e6baac718a94f8731cc31461d4db (patch)
tree5a7df8a3924f3feec91121c2f98988c84d52faf1 /src/southbridge
parentf41cb4ecd23c951e1c1c4fef0c99772983a3eba4 (diff)
downloadcoreboot-931c1dcec043e6baac718a94f8731cc31461d4db.tar.xz
stdlib: Drop duplicates of min() and max()
Change-Id: Ib2f6fad735e085d237a0d46e0586e123eef6e0e2 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/6161 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/common/spi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/southbridge/intel/common/spi.c b/src/southbridge/intel/common/spi.c
index b323dbbb2c..51586ccddb 100644
--- a/src/southbridge/intel/common/spi.c
+++ b/src/southbridge/intel/common/spi.c
@@ -35,8 +35,6 @@
#include <spi-generic.h>
-#define min(a, b) ((a)<(b)?(a):(b))
-
#define HSFC_FCYCLE_OFF 1 /* 1-2: FLASH Cycle */
#define HSFC_FCYCLE (0x3 << HSFC_FCYCLE_OFF)
#define HSFC_FDBC_OFF 8 /* 8-13: Flash Data Byte Count */