Commit cd9e6099 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by GitHub
Browse files

Merge pull request #102 from Icenowy/spl-v2

fel: enable support for v2 SPL
parents d9b1d7e7 c8ada384
...@@ -816,7 +816,7 @@ void aw_fel_process_spl_and_uboot(feldev_handle *dev, const char *filename) ...@@ -816,7 +816,7 @@ void aw_fel_process_spl_and_uboot(feldev_handle *dev, const char *filename)
*/ */
#define SPL_SIGNATURE "SPL" /* marks "sunxi" header */ #define SPL_SIGNATURE "SPL" /* marks "sunxi" header */
#define SPL_MIN_VERSION 1 /* minimum required version */ #define SPL_MIN_VERSION 1 /* minimum required version */
#define SPL_MAX_VERSION 1 /* maximum supported version */ #define SPL_MAX_VERSION 2 /* maximum supported version */
bool have_sunxi_spl(feldev_handle *dev, uint32_t spl_addr) bool have_sunxi_spl(feldev_handle *dev, uint32_t spl_addr)
{ {
uint8_t spl_signature[4]; uint8_t spl_signature[4];
......
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