summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-10-30 17:35:30 -0500
committerWolfgang Denk <wd@denx.de>2008-11-02 16:23:46 +0100
commit20d04774f4ef3f6e38974636e0e36ae0f0b5501f (patch)
tree15562cc70bebb87b130ba1ef5218df84f4297c1d /board
parent298e476c66fd88d0bc4f0371118652d2b5de4e8a (diff)
downloadu-boot-imx-20d04774f4ef3f6e38974636e0e36ae0f0b5501f.zip
u-boot-imx-20d04774f4ef3f6e38974636e0e36ae0f0b5501f.tar.gz
u-boot-imx-20d04774f4ef3f6e38974636e0e36ae0f0b5501f.tar.bz2
Consolidate MAX/MIN definitions
There were several, now there is one (two if you count the lower-case versions). Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board')
-rw-r--r--board/delta/nand.c2
-rw-r--r--board/zylonite/nand.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/board/delta/nand.c b/board/delta/nand.c
index 14382f5..aff7c54 100644
--- a/board/delta/nand.c
+++ b/board/delta/nand.c
@@ -46,8 +46,6 @@
# define DFC_DEBUG3(fmt, args...)
#endif
-#define MIN(x, y) ((x < y) ? x : y)
-
/* These really don't belong here, as they are specific to the NAND Model */
static uint8_t scan_ff_pattern[] = { 0xff, 0xff };
diff --git a/board/zylonite/nand.c b/board/zylonite/nand.c
index 895fb2b..899445e 100644
--- a/board/zylonite/nand.c
+++ b/board/zylonite/nand.c
@@ -46,8 +46,6 @@
# define DFC_DEBUG3(fmt, args...)
#endif
-#define MIN(x, y) ((x < y) ? x : y)
-
/* These really don't belong here, as they are specific to the NAND Model */
static uint8_t scan_ff_pattern[] = { 0xff, 0xff };