diff options
author | Allen Martin <amartin@nvidia.com> | 2012-04-19 07:58:57 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-08-09 22:37:42 +0200 |
commit | d22650afabd6ce0003569f11b1605a69aac0f22c (patch) | |
tree | 168813d217bf2e8229459f92b6ca52ab094600b3 /doc/README.SPL | |
parent | f28e26951a903f495912b89d2563d1b2e41caf76 (diff) | |
download | u-boot-imx-d22650afabd6ce0003569f11b1605a69aac0f22c.zip u-boot-imx-d22650afabd6ce0003569f11b1605a69aac0f22c.tar.gz u-boot-imx-d22650afabd6ce0003569f11b1605a69aac0f22c.tar.bz2 |
mkconfig: add support for SPL CPU
Add support for specifying a differnt CPU for main u-boot and SPL
u-boot builds. This is done by adding an optional SPL CPU after the
main CPU in boards.cfg as follows:
normal_cpu:spl_cpu
This this case CPU will be set to "normal_cpu" during the main u-boot
build and "spl_cpu" during the SPL build.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Diffstat (limited to 'doc/README.SPL')
-rw-r--r-- | doc/README.SPL | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/README.SPL b/doc/README.SPL index 0276953..e4a5ac3 100644 --- a/doc/README.SPL +++ b/doc/README.SPL @@ -66,3 +66,15 @@ CONFIG_SPL_DMA_SUPPORT (drivers/dma/libdma.o) CONFIG_SPL_POST_MEM_SUPPORT (post/drivers/memory.o) CONFIG_SPL_NAND_LOAD (drivers/mtd/nand/nand_spl_load.o) CONFIG_SPL_SPI_LOAD (drivers/mtd/spi/spi_spl_load.o) + + +Normally CPU is assumed to be the same between the SPL and normal +u-boot build. However it is possible to specify a different CPU for +the SPL build for cases where the SPL is expected to run on a +different CPU model from the main u-boot. This is done by specifying +an SPL CPU in boards.cfg as follows: + + normal_cpu:spl_cpu + +This this case CPU will be set to "normal_cpu" during the main u-boot +build and "spl_cpu" during the SPL build. |