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>
This commit is contained in:
Kyösti Mälkki
2014-06-30 09:40:19 +03:00
parent f41cb4ecd2
commit 931c1dcec0
7 changed files with 5 additions and 12 deletions

View File

@@ -6,8 +6,6 @@
#define EINVAL -1
#define max(x,y) (x>=y)?x:y
#if CONFIG_CONSOLE_BTEXT
/*
* Elements of the hardware specific atyfb_par structure

View File

@@ -50,8 +50,6 @@
TPM_DEBUG("Write reg 0x%x with 0x%x\n", (reg_), (val_))
#define printf(x...) printk(BIOS_ERR, x)
#define min(a,b) MIN(a,b)
#define max(a,b) MAX(a,b)
#define readb(_a) (*(volatile unsigned char *) (_a))
#define writeb(_v, _a) (*(volatile unsigned char *) (_a) = (_v))
#define readl(_a) (*(volatile unsigned long *) (_a))