summaryrefslogtreecommitdiff
path: root/board/bf533-ezkit/bf533-ezkit.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-11 20:30:28 -0400
committerMike Frysinger <vapier@gentoo.org>2009-01-28 13:26:13 -0500
commit65ba1abd3b90e0b2585745809b78e2651bd3bacb (patch)
tree03259341f82d7bdc6cd8b5db39e64d5acf356dd3 /board/bf533-ezkit/bf533-ezkit.c
parentbe853bf86b41e91f4c422f0f56fdf87ea3191266 (diff)
downloadu-boot-imx-65ba1abd3b90e0b2585745809b78e2651bd3bacb.zip
u-boot-imx-65ba1abd3b90e0b2585745809b78e2651bd3bacb.tar.gz
u-boot-imx-65ba1abd3b90e0b2585745809b78e2651bd3bacb.tar.bz2
Blackfin: bf533-ezkit: shuffle flash defines a little
Some of the flash defines weren't in the correct location and caused build problems in some configurations, so let's move types and defines to better local locations. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/bf533-ezkit/bf533-ezkit.c')
-rw-r--r--board/bf533-ezkit/bf533-ezkit.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/board/bf533-ezkit/bf533-ezkit.c b/board/bf533-ezkit/bf533-ezkit.c
index 42c4b50..6973082 100644
--- a/board/bf533-ezkit/bf533-ezkit.c
+++ b/board/bf533-ezkit/bf533-ezkit.c
@@ -1,7 +1,7 @@
/*
- * U-boot - ezkit533.c
+ * U-boot - main board file
*
- * Copyright (c) 2005-2007 Analog Devices Inc.
+ * Copyright (c) 2005-2008 Analog Devices Inc.
*
* (C) Copyright 2000-2004
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
@@ -26,9 +26,8 @@
*/
#include <common.h>
-#if defined(CONFIG_MISC_INIT_R)
#include "psd4256.h"
-#endif
+#include "flash-defines.h"
DECLARE_GLOBAL_DATA_PTR;
@@ -58,7 +57,6 @@ phys_size_t initdram(int board_type)
return CONFIG_SYS_MAX_RAM_SIZE;
}
-#if defined(CONFIG_MISC_INIT_R)
/* miscellaneous platform dependent initialisations */
int misc_init_r(void)
{
@@ -71,4 +69,3 @@ int misc_init_r(void)
return 0;
}
-#endif