rcar_gen3: drivers: rom: Mark NEW table as D3 compatible
authorMarek Vasut <[email protected]>
Sat, 5 Jan 2019 13:07:55 +0000 (14:07 +0100)
committerMarek Vasut <[email protected]>
Tue, 2 Apr 2019 01:40:51 +0000 (03:40 +0200)
Add comment into the ROM driver that the new table is also D3 compatible.

Signed-off-by: Marek Vasut <[email protected]>
drivers/renesas/rcar/rom/rom_api.c

index be38fbff3f993a7fc4b81ffec42f1832c8aa6445..6f448a5aa39d098a54d374c84e1e8edcd14c7752 100644 (file)
@@ -19,7 +19,7 @@ typedef uint32_t(*rom_get_lcs_api_f) (uint32_t *lcs);
 #define OLD_API_TABLE1 (0U)    /* H3 Ver.1.0/Ver.1.1 */
 #define OLD_API_TABLE2 (1U)    /* H3 Ver.2.0 */
 #define OLD_API_TABLE3 (2U)    /* M3 Ver.1.0 */
-#define NEW_API_TABLE  (3U)    /* H3 Ver.3.0, M3 Ver.1.1 or later, M3N, E3 */
+#define NEW_API_TABLE  (3U)    /* H3 Ver.3.0, M3 Ver.1.1 or later, M3N, E3, D3 */
 #define API_TABLE_MAX  (4U)    /* table max */
                                /* Later than H3 Ver.2.0 */
 
@@ -66,7 +66,7 @@ uint32_t rcar_rom_secure_boot_api(uint32_t *key, uint32_t *cert,
                0xEB10DD64U,    /* H3 Ver.1.0/Ver.1.1 */
                0xEB116ED4U,    /* H3 Ver.2.0 */
                0xEB1102FCU,    /* M3 Ver.1.0 */
-               0xEB100180U     /* H3 Ver.3.0, M3 Ver.1.1 or later, M3N, E3 */
+               0xEB100180U     /* H3 Ver.3.0, M3 Ver.1.1 or later, M3N, E3, D3 */
        };
        rom_secure_boot_api_f secure_boot;
        uint32_t index;
@@ -83,7 +83,7 @@ uint32_t rcar_rom_get_lcs(uint32_t *lcs)
                0xEB10DFE0U,    /* H3 Ver.1.0/Ver.1.1 */
                0xEB117150U,    /* H3 Ver.2.0 */
                0xEB110578U,    /* M3 Ver.1.0 */
-               0xEB10018CU     /* H3 Ver.3.0, M3 Ver.1.1 or later, M3N, E3 */
+               0xEB10018CU     /* H3 Ver.3.0, M3 Ver.1.1 or later, M3N, E3, D3 */
        };
        rom_get_lcs_api_f get_lcs;
        uint32_t index;