fusee: correct constants in CAR

This commit is contained in:
Kate J. Temkin committed 2018-05-20 07:05:35 -06:00
1 parent 817c42efc2
commit 633c5e95ed
1 file changed
+6 -4
+6 -4
View File
@@ -49,8 +49,10 @@ enum {
*/
enum {
CLK_SOURCE_MASK = (0b111 << 29),
CLK_SOURCE_FIRST = 0,
CLK_DIVIDER_UNITY = 0,
CLK_SOURCE_FIRST = (0b000 << 29),
CLK_DIVIDER_MASK = (0xff << 0),
CLK_DIVIDER_UNITY = (0x00 << 0),
};
@@ -65,8 +67,8 @@ enum {
enum {
CLK_SOURCE_SDMMC1 = 19,
CLK_SOURCE_SDMMC4 = 21, /* 0x54 into the the main source block */
CLK_SOURCE_SDMMC1 = 20,
CLK_SOURCE_SDMMC4 = 25, /* 0x54 into the the main source block */
CLK_SOURCE_SDMMC_LEGACY = 0, /* first in block Y */
};