fusee: correct constants in CAR

This commit is contained in:
Kate J. Temkin 2018-05-18 21:23:53 -06:00
parent 817c42efc2
commit 633c5e95ed

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 */
};