From fe6593b7a0db4b2a96d94af77e60e6b11687ef51 Mon Sep 17 00:00:00 2001 From: Maurizio Lombardi Date: Sat, 16 Feb 2013 15:18:24 +0100 Subject: [PATCH] add a comment to make the code more clear --- kernel/genarch/include/drivers/am335x/ctrl_module.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/genarch/include/drivers/am335x/ctrl_module.h b/kernel/genarch/include/drivers/am335x/ctrl_module.h index 496e5d9f6..489cd7c8b 100644 --- a/kernel/genarch/include/drivers/am335x/ctrl_module.h +++ b/kernel/genarch/include/drivers/am335x/ctrl_module.h @@ -50,6 +50,8 @@ am335x_ctrl_module_clock_freq_get(am335x_ctrl_module_t *base, unsigned *freq) { unsigned const control_status = AM335x_CTRL_MODULE_REG_VALUE(base, CONTROL_STATUS); + + /* Get the sysboot1 field at control_status[22,23] */ unsigned const sysboot1 = (control_status >> 22) & 0x03; switch (sysboot1) { -- 2.11.4.GIT