diff options
author | Hou Zhiqiang | 2019-08-20 09:35:30 +0000 |
---|---|---|
committer | Prabhakar Kushwaha | 2019-08-26 21:25:23 +0530 |
commit | c36643ff48ea8a792b6d3ef9a6f54109fd916351 (patch) | |
tree | aa1e64b8c9ffd154713a12705d76954a36705472 /board/freescale/p2041rdb | |
parent | caa756975c4b645eecbabdccc6c9710a9c0e2d3f (diff) |
powerpc: Enable device tree support for P2041RDB
Add device tree for P1041RDB board and enable CONFIG_OF_CONTROL
so that device tree can be compiled.
Update board README for device tree usage.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Diffstat (limited to 'board/freescale/p2041rdb')
-rw-r--r-- | board/freescale/p2041rdb/README | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/board/freescale/p2041rdb/README b/board/freescale/p2041rdb/README index 9b5539fff33..79f77e49612 100644 --- a/board/freescale/p2041rdb/README +++ b/board/freescale/p2041rdb/README @@ -85,6 +85,24 @@ Boot from SPI flash SW1[1-5] = 10100 Note: 1 stands for 'on', 0 stands for 'off' +Device tree support and how to enable it for different configs +-------------------------------------------------------------- +Device tree support is available for p2041rdb for below mentioned boot, +1. NOR Boot +2. NAND Boot +3. SD Boot +4. SPIFLASH Boot + +To enable device tree support for other boot, below configs need to be +enabled in relative defconfig file, +1. CONFIG_DEFAULT_DEVICE_TREE="p2041rdb" (Change default device tree name if required) +2. CONFIG_OF_CONTROL +3. CONFIG_MPC85XX_HAVE_RESET_VECTOR if reset vector is located at + CONFIG_RESET_VECTOR_ADDRESS - 0xffc + +If device tree support is enabled in defconfig, use 'u-boot-with-dtb.bin' +instead of u-boot.bin for all boot. + CPLD command ============ The CPLD is used to control the power sequence and some serdes lane |