Register definitions: get rid of some macro magic that doesn't help much

Instead of e.g. GPIO.DATA.GPIO_08, you now use GPIO->DATA.GPIO_08.
This commit is contained in:
Jim Paris 2010-09-26 16:05:12 -04:00
parent bf94b6d3bd
commit ac2cac1e1d
5 changed files with 17 additions and 25 deletions

View file

@ -218,8 +218,7 @@ struct CRM_struct {
uint32_t reserved6;
};
static volatile struct CRM_struct * const _CRM = (void *) (CRM_BASE);
#define CRM (*_CRM)
static volatile struct CRM_struct * const CRM = (void *) (CRM_BASE);
/* Old register definitions, for compatibility */