powerpc/t1040: enable PBL tool for T1040
Use a default RCW of protocol 0x66. A PBI configure file which uses CPC as 256KB SRAM. It can be used by PBL tool on T1040 to build a pbl boot image. Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
This commit is contained in:
parent
63c4f17b2f
commit
439fbe75a0
27
board/freescale/t1040qds/t1040_pbi.cfg
Normal file
27
board/freescale/t1040qds/t1040_pbi.cfg
Normal file
@ -0,0 +1,27 @@
|
||||
#PBI commands
|
||||
#Initialize CPC1
|
||||
09010000 00200400
|
||||
09138000 00000000
|
||||
091380c0 00000100
|
||||
#Configure CPC1 as 512KB SRAM
|
||||
09010100 00000000
|
||||
09010104 fffc0007
|
||||
09010f00 08000000
|
||||
09010000 80000000
|
||||
#Configure LAW for CPC1
|
||||
09000cf0 00000000
|
||||
09000cf4 fffc0000
|
||||
09000cf8 81000011
|
||||
#Configure alternate space
|
||||
09000010 00000000
|
||||
09000014 ff000000
|
||||
09000018 81000000
|
||||
#Configure SPI controller
|
||||
09110000 80000403
|
||||
09110020 2d170008
|
||||
09110024 00100008
|
||||
09110028 00100008
|
||||
0911002c 00100008
|
||||
#Flush PBL data
|
||||
09138000 00000000
|
||||
091380c0 00000000
|
7
board/freescale/t1040qds/t1040_rcw.cfg
Normal file
7
board/freescale/t1040qds/t1040_rcw.cfg
Normal file
@ -0,0 +1,7 @@
|
||||
#PBL preamble and RCW header
|
||||
aa55aa55 010e0100
|
||||
# serdes protocol 0x66
|
||||
0a10000c 0c000000 00000000 00000000
|
||||
66000002 00000000 fc027000 01000000
|
||||
00000000 00000000 00000000 00030810
|
||||
00000000 03fc500f 00000000 00000000
|
@ -32,6 +32,8 @@
|
||||
#ifdef CONFIG_RAMBOOT_PBL
|
||||
#define CONFIG_RAMBOOT_TEXT_BASE CONFIG_SYS_TEXT_BASE
|
||||
#define CONFIG_RESET_VECTOR_ADDRESS 0xfffffffc
|
||||
#define CONFIG_PBLPBI_CONFIG $(SRCTREE)/board/freescale/t1040qds/t1040_pbi.cfg
|
||||
#define CONFIG_PBLRCW_CONFIG $(SRCTREE)/board/freescale/t1040qds/t1040_rcw.cfg
|
||||
#endif
|
||||
|
||||
/* High Level Configuration Options */
|
||||
|
Loading…
Reference in New Issue
Block a user