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 <[email protected]>
Signed-off-by: Vishnu Patekar <[email protected]>
Tested-by: Cam Hutchison <[email protected]>
---
 fel.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/fel.c b/fel.c
index ecdb82d..bfac81f 100644
--- a/fel.c
+++ b/fel.c
@@ -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 */
 };
 
-- 
1.9.1

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to