Skip to content

Commit

Permalink
fel: add fel spl support for H3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
vishnupatekar authored and ssvb committed Aug 19, 2015
1 parent bb792ec commit 65bcc05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fel.c
Expand Up @@ -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",
Expand Down Expand Up @@ -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 */
}; };


Expand Down

0 comments on commit 65bcc05

Please sign in to comment.