From 633c5e95ed5cd0e3bc3df68919ff11e54d55673f Mon Sep 17 00:00:00 2001 From: "Kate J. Temkin" Date: Fri, 18 May 2018 21:23:53 -0600 Subject: [PATCH] fusee: correct constants in CAR --- fusee/fusee-primary/src/car.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fusee/fusee-primary/src/car.h b/fusee/fusee-primary/src/car.h index 7d9eab8d8..40dad5f61 100644 --- a/fusee/fusee-primary/src/car.h +++ b/fusee/fusee-primary/src/car.h @@ -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 */ };