]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/corenet_ds: Get rid of the SRIOBOOT_MASTER build target
authorLiu Gang <Gang.Liu@freescale.com>
Thu, 9 Aug 2012 05:09:59 +0000 (05:09 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 23 Aug 2012 15:24:14 +0000 (10:24 -0500)
commitff65f12699b4181b777cbc03b057510bc4605f5e
tree23450ac7d9f92ef9dc2e9e88a8eb951d50332475
parent51928df64ce29ca4c412fe5f3e063cb05e5411c7
powerpc/corenet_ds: Get rid of the SRIOBOOT_MASTER build target

Get rid of the SRIOBOOT_MASTER build target, and to support for serving as
a SRIO boot master via environment variable. Set the environment variable
"bootmaster" to "SRIO1" or "SRIO2" using the following command:

setenv bootmaster SRIO1
saveenv

The "bootmaster" will enable the function of the SRIO boot master, and
this has the following advantages compared with SRIOBOOT_MASTER build
configuration:
1. Reduce a build configuration item in boards.cfg file.
   No longer need to build a special image for master, just use a
   normal target image and set the "bootmaster" variable.
2. No longer need to rebuild an image when change the SRIO port for
   boot from SRIO, just set the corresponding value to "bootmaster"
   based on the using SRIO port.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc8xxx/srio.c
arch/powerpc/include/asm/fsl_srio.h
boards.cfg
include/configs/P2041RDB.h
include/configs/corenet_ds.h