Ignore:
Timestamp:
2012-11-20T21:52:37Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7ca042f1
Parents:
8138d4f
Message:

rootamdm37x: Fix PRM clock control base address.

Make freq decoder function inline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/infrastructure/rootamdm37x/prm/clock_control.h

    r8138d4f r4b2c7a88  
    3939
    4040/* AM/DM37x TRM p.536 and p.589 */
    41 #define CLOCK_CONTROL_PRM_BASE_ADDRESS  0x48006d00
     41#define CLOCK_CONTROL_PRM_BASE_ADDRESS  0x48306d00
    4242#define CLOCK_CONTROL_PRM_SIZE  8192
    4343
     
    6060} clock_control_prm_regs_t;
    6161
    62 static unsigned sys_clk_freq_kHz(unsigned reg_val)
     62static inline unsigned sys_clk_freq_kHz(unsigned reg_val)
    6363{
    6464        switch(reg_val)
Note: See TracChangeset for help on using the changeset viewer.