summaryrefslogtreecommitdiff
path: root/board/xilinx/ml507/init.S
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@uam.es>2008-07-21 20:30:07 +0200
committerStefan Roese <sr@denx.de>2008-07-30 11:31:37 +0200
commit01a004313c5ec2d128b611df4c208b1b0d3c3fb4 (patch)
treeafd7f54deab3bbfc92391b40fa7a6de54e161487 /board/xilinx/ml507/init.S
parent60204d06ed9f8c2a67cc79eb67fd2b1d22bcbc8c (diff)
downloadu-boot-imx-01a004313c5ec2d128b611df4c208b1b0d3c3fb4.zip
u-boot-imx-01a004313c5ec2d128b611df4c208b1b0d3c3fb4.tar.gz
u-boot-imx-01a004313c5ec2d128b611df4c208b1b0d3c3fb4.tar.bz2
ppc4xx: ML507: U-Boot in flash and System ACE
This patch allows booting from FLASH the ML507 board by Xilinx. Previously, U-Boot needed to be loaded from JTAG or a Sytem ACE CF Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/xilinx/ml507/init.S')
-rw-r--r--board/xilinx/ml507/init.S8
1 files changed, 7 insertions, 1 deletions
diff --git a/board/xilinx/ml507/init.S b/board/xilinx/ml507/init.S
index f54d929..3228a65 100644
--- a/board/xilinx/ml507/init.S
+++ b/board/xilinx/ml507/init.S
@@ -35,13 +35,19 @@ tlbentry(XPAR_UARTLITE_0_BASEADDR, SZ_64K, XPAR_UARTLITE_0_BASEADDR, 0,
/* PIC */
tlbentry(XPAR_INTC_0_BASEADDR, SZ_64K, XPAR_INTC_0_BASEADDR, 0,
AC_R | AC_W | SA_G | SA_I)
+#ifdef XPAR_IIC_EEPROM_BASEADDR
/* I2C */
tlbentry(XPAR_IIC_EEPROM_BASEADDR, SZ_64K, XPAR_IIC_EEPROM_BASEADDR, 0,
AC_R | AC_W | SA_G | SA_I)
+#endif
+#ifdef XPAR_LLTEMAC_0_BASEADDR
/* Net */
tlbentry(XPAR_LLTEMAC_0_BASEADDR, SZ_64K, XPAR_LLTEMAC_0_BASEADDR, 0,
AC_R | AC_W | SA_G | SA_I)
+#endif
+#ifdef XPAR_FLASH_MEM0_BASEADDR
/*Flash*/
tlbentry(XPAR_FLASH_MEM0_BASEADDR, SZ_256M, XPAR_FLASH_MEM0_BASEADDR, 0,
- AC_R | AC_W | SA_G | SA_I)
+ AC_R | AC_W | AC_X | SA_G | SA_I)
+#endif
tlbtab_end