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: Cam Hutchison <camh@xdna.net>
Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
Tested-by: Cam Hutchison <camh@xdna.net>
Acked-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
This commit is contained in:
Vishnu Patekar 2015-08-18 22:34:21 +08:00 committed by Siarhei Siamashka
parent bb792ec57d
commit 65bcc05013

6
fel.c
View File

@ -196,6 +196,7 @@ void aw_fel_print_version(libusb_device_handle *usb)
case 0x1639: soc_name="A80";break;
case 0x1667: soc_name="A33";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",
@ -420,6 +421,11 @@ soc_sram_info soc_sram_info_table[] = {
.thunk_addr = 0x46E00, .thunk_size = 0x200,
.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 */
};