• David Brownell's avatar
    davinci clock setup: improve diagnostics · d27e40dd
    David Brownell authored
    Minor tweak to the new DaVinci clock code:  look at the PSC module
    to make sure the clock is enabled before reporting that it needs
    disabling.  This improves the value of those diagnostics.
    
    Docs report a variety of power-up states for peripherals.  DM355
    seems to leave most things clocked (but in reset); else, most
    clocks will still be off unless the bootloader enabled them.
    
    Also includes a minor fix to the MDCTL write:  DM355 defines
    that field as five bits; other cores define the extra bits as
    must-be-zero.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    d27e40dd
psc.c 2.84 KB