Commit 65bcc050 authored by Vishnu Patekar's avatar Vishnu Patekar Committed by Siarhei Siamashka
Browse files

fel: add fel spl support for H3



Added fel spl support for H3.

For H3 MMU is not enabled by BROM.
This is tested on Orange Pi H3 Board.
Reported-by: default avatarCam Hutchison <camh@xdna.net>
Signed-off-by: default avatarVishnu Patekar <vishnupatekar0510@gmail.com>
Tested-by: default avatarCam Hutchison <camh@xdna.net>
Acked-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
parent bb792ec5
...@@ -196,6 +196,7 @@ void aw_fel_print_version(libusb_device_handle *usb) ...@@ -196,6 +196,7 @@ void aw_fel_print_version(libusb_device_handle *usb)
case 0x1639: soc_name="A80";break; case 0x1639: soc_name="A80";break;
case 0x1667: soc_name="A33";break; case 0x1667: soc_name="A33";break;
case 0x1673: soc_name="A83T";break; case 0x1673: soc_name="A83T";break;
case 0x1680: soc_name="H3";break;
} }
printf("%.8s soc=%08x(%s) %08x ver=%04x %02x %02x scratchpad=%08x %08x %08x\n", printf("%.8s soc=%08x(%s) %08x ver=%04x %02x %02x scratchpad=%08x %08x %08x\n",
...@@ -420,6 +421,11 @@ soc_sram_info soc_sram_info_table[] = { ...@@ -420,6 +421,11 @@ soc_sram_info soc_sram_info_table[] = {
.thunk_addr = 0x46E00, .thunk_size = 0x200, .thunk_addr = 0x46E00, .thunk_size = 0x200,
.swap_buffers = a31_sram_swap_buffers, .swap_buffers = a31_sram_swap_buffers,
}, },
{
.soc_id = 0x1680, /* Allwinner H3 */
.thunk_addr = 0x46E00, .thunk_size = 0x200,
.swap_buffers = a31_sram_swap_buffers,
},
{ 0 } /* End of the table */ { 0 } /* End of the table */
}; };
......
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