diff options
author | Ye.Li <B37916@freescale.com> | 2015-05-20 17:19:44 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2015-05-20 18:05:33 +0800 |
commit | f7775862aa7eb6d5e978f9059e981f57f7f76f1a (patch) | |
tree | cded4b1d5fde87dfe45f151f934432b2567c4fe5 /disk/part_dos.c | |
parent | 7ae2b544aedaf79c59c54a8cfd917da76eac4d73 (diff) | |
download | u-boot-imx-imx_3.14.38_6ul_engr.zip u-boot-imx-imx_3.14.38_6ul_engr.tar.gz u-boot-imx-imx_3.14.38_6ul_engr.tar.bz2 |
MLK-10936 imx: mx7d: Change to use bootrom_sw_info for getting boot deviceimx_3.14.38_6ul_engr
On MX7D, boot rom can provide some boot information such as boot device,
arm freq, axi freq, etc. (see the structure below)
Offset Byte4 | Byte3 | Byte2 | Byte1
0x0 Reserved | Boot Device Type | Boot Device Instance | Reserved
0x4 ARM core frequency(in Hz)
0x8 AXI bus frequency(in Hz)
0x0C DDR frequency(in Hz)
0x10 GPT1 input clock frequency(in Hz)
0x14 Reserved
0x18
0x1C
The boot information can be accessed by get the pointer at 0x1E8. This patch
changes the u-boot to use the new approach. When manufacture boot, the info
recorded is the actual SD port, not the failed device.
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'disk/part_dos.c')
0 files changed, 0 insertions, 0 deletions