]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/corenet_ds: Get rid of the CONFIG_SRIOBOOT_SLAVE_PORTx macro
authorLiu Gang <Gang.Liu@freescale.com>
Thu, 9 Aug 2012 05:10:00 +0000 (05:10 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 23 Aug 2012 15:24:14 +0000 (10:24 -0500)
commit81fa73bab05f491dd6f27c9afbc6952f54173b41
tree8c10a983633f7cb3f5e3bdee8ab634094a3c36af
parentff65f12699b4181b777cbc03b057510bc4605f5e
powerpc/corenet_ds: Get rid of the CONFIG_SRIOBOOT_SLAVE_PORTx macro

When compile the slave image for boot from SRIO, no longer need to
specify which SRIO port it will boot from. The code will get this
information from RCW and then finishes corresponding configurations.

This has the following advantages:
1. No longer need to rebuild an image when change the SRIO port for
   boot from SRIO, just rewrite the new RCW with selected port,
   then the code will get the port information by reading new RCW.
2. It will be easier to support other boot location options, for
   example, boot from PCIE.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/include/asm/immap_85xx.h
board/freescale/common/p_corenet/law.c
drivers/misc/fsl_law.c
include/configs/P2041RDB.h
include/configs/corenet_ds.h