浏览代码

Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx

Wolfgang Denk 15 年之前
父节点
当前提交
568278e336
共有 3 个文件被更改,包括 5 次插入2 次删除
  1. 2 0
      arch/powerpc/cpu/mpc83xx/start.S
  2. 1 1
      board/sheldon/simpc8313/simpc8313.c
  3. 2 1
      include/configs/SIMPC8313.h

+ 2 - 0
arch/powerpc/cpu/mpc83xx/start.S

@@ -739,6 +739,7 @@ setup_bats:
  * Note: requires that all cache bits in
  * HID0 are in the low half word.
  */
+#ifndef CONFIG_NAND_SPL
 	.globl	icache_enable
 icache_enable:
 	mfspr	r3, HID0
@@ -767,6 +768,7 @@ icache_status:
 	mfspr	r3, HID0
 	rlwinm	r3, r3, (31 - HID0_ICE_SHIFT + 1), 31, 31
 	blr
+#endif	/* !CONFIG_NAND_SPL */
 
 	.globl	dcache_enable
 dcache_enable:

+ 1 - 1
board/sheldon/simpc8313/simpc8313.c

@@ -33,13 +33,13 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
+#ifndef CONFIG_NAND_SPL
 int checkboard(void)
 {
 	puts("Board: Sheldon Instruments SIMPC8313\n");
 	return 0;
 }
 
-#ifndef CONFIG_NAND_SPL
 static struct pci_region pci_regions[] = {
 	{
 		bus_start: CONFIG_SYS_PCI1_MEM_BASE,

+ 2 - 1
include/configs/SIMPC8313.h

@@ -418,7 +418,8 @@
 				| SICRH_ETSEC2_G	\
 				| SICRH_TSOBI1		\
 				| SICRH_TSOBI2 )
-#define CONFIG_SYS_SICRL	(SICRL_USBDR		\
+#define CONFIG_SYS_SICRL	( SICRL_LBC		\
+				| SICRL_USBDR		\
 				| SICRL_ETSEC2_A )
 
 #define CONFIG_SYS_HID0_INIT	0x000000000