summaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-10 22:30:53 +0000
committerwdenk <wdenk>2003-09-10 22:30:53 +0000
commit7205e4075d8b50e4dd89fe39ed03860b23cbb704 (patch)
tree0dfa865e7087ff4ee07967a2531c91ff5645a802 /post
parent149dded2b178bc0fb62cb6f61b87968d914b580a (diff)
* Patches by Denis Peter, 9 Sep 2003:U-Boot-0_4_8
add FAT support for IDE, SCSI and USB * Patches by Gleb Natapov, 2 Sep 2003: - cleanup of POST code for unsupported architectures - MPC824x locks way0 of data cache for use as initial RAM; this patch unlocks it after relocation to RAM and invalidates the locked entries. * Patch by Gleb Natapov, 30 Aug 2003: new I2C driver for mpc107 bridge. Now works from flash. * Patch by Dave Ellis, 11 Aug 2003: - JFFS2: fix typo in common/cmd_jffs2.c - JFFS2: fix CFG_JFFS2_SORT_FRAGMENTS option - JFFS2: remove node version 0 warning - JFFS2: accept JFFS2 PADDING nodes - SXNI855T: add AM29LV800 support - SXNI855T: move environment from EEPROM to flash - SXNI855T: boot from JFFS2 in NOR or NAND flash * Patch by Bill Hargen, 11 Aug 2003: fixes for I2C on MPC8240 - fix i2c_write routine - fix iprobe command - eliminates use of global variables, plus dead code, cleanup.
Diffstat (limited to 'post')
-rw-r--r--post/cache_8xx.S5
-rw-r--r--post/ether.c4
-rw-r--r--post/uart.c3
3 files changed, 4 insertions, 8 deletions
diff --git a/post/cache_8xx.S b/post/cache_8xx.S
index 2974882b890..2d41b5566a8 100644
--- a/post/cache_8xx.S
+++ b/post/cache_8xx.S
@@ -27,8 +27,7 @@
defined(CONFIG_MPC850) || \
defined(CONFIG_MPC855) || \
defined(CONFIG_MPC860) || \
- defined(CONFIG_MPC862) || \
- defined(CONFIG_MPC824X)
+ defined(CONFIG_MPC862)
#include <post.h>
#include <ppc_asm.tmpl>
@@ -491,6 +490,6 @@ cache_post_test6_data:
mtlr r0
blr
-#endif /* CONFIG_MPC823 || MPC850 || MPC855 || MPC860 || MPC824X */
+#endif /* CONFIG_MPC823 || MPC850 || MPC855 || MPC860 */
#endif /* CONFIG_POST & CFG_POST_CACHE */
#endif /* CONFIG_POST */
diff --git a/post/ether.c b/post/ether.c
index d174ad1c010..0a8b36fcad1 100644
--- a/post/ether.c
+++ b/post/ether.c
@@ -38,7 +38,7 @@
#ifdef CONFIG_POST
#include <post.h>
-
+#if CONFIG_POST & CFG_POST_ETHER
#if defined(CONFIG_8xx)
#include <commproc.h>
#elif defined(CONFIG_MPC8260)
@@ -50,8 +50,6 @@
#include <command.h>
#include <net.h>
-#if CONFIG_POST & CFG_POST_ETHER
-
#define MIN_PACKET_LENGTH 64
#define MAX_PACKET_LENGTH 256
#define TEST_NUM 1
diff --git a/post/uart.c b/post/uart.c
index 3eaafd8203f..15df74eef4f 100644
--- a/post/uart.c
+++ b/post/uart.c
@@ -39,6 +39,7 @@
#ifdef CONFIG_POST
#include <post.h>
+#if CONFIG_POST & CFG_POST_UART
#if defined(CONFIG_8xx)
#include <commproc.h>
#elif defined(CONFIG_MPC8260)
@@ -49,8 +50,6 @@
#include <command.h>
#include <net.h>
-#if CONFIG_POST & CFG_POST_UART
-
#define CTLR_SMC 0
#define CTLR_SCC 1