Commit c3dec8f9 authored by Icenowy Zheng's avatar Icenowy Zheng Committed by Bernhard Nortmann
Browse files

fel: add SoC ID and SRAM info for H5


Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.xyz>
Reviewed-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
parent bf735b2c
......@@ -264,6 +264,7 @@ void aw_fel_print_version(libusb_device_handle *usb)
case 0x1667: soc_name="A33"; break;
case 0x1673: soc_name="A83T"; break;
case 0x1680: soc_name="H3"; break;
case 0x1718: soc_name="H5"; break;
}
printf("%.8s soc=%08x(%s) %08x ver=%04x %02x %02x scratchpad=%08x %08x %08x\n",
......@@ -607,6 +608,15 @@ soc_sram_info soc_sram_info_table[] = {
.swap_buffers = a10_a13_a20_sram_swap_buffers,
.sid_addr = 0x01C14200,
},
{
.soc_id = 0x1718, /* Allwinner H5 */
.spl_addr = 0x10000,
.scratch_addr = 0x11000,
.thunk_addr = 0x1A200, .thunk_size = 0x200,
.swap_buffers = a64_sram_swap_buffers,
.sid_addr = 0x01C14200,
.rvbar_reg = 0x017000A0,
},
{
.soc_id = 0x1639, /* Allwinner A80 */
.spl_addr = 0x10000,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment