]> git.sur5r.net Git - openocd/commit
SAM3: Remove unused reference to SUPC registers
authorAttila Kinali <attila@kinali.ch>
Tue, 28 Feb 2012 11:39:41 +0000 (12:39 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 6 Mar 2012 13:31:13 +0000 (13:31 +0000)
commit4b4ce4f27e26b38807b65cce8fd6961e28a7733f
tree367f462ec80631493dd584fd40fa7b1b0ac838ee
parent9e137265dead421d0a783a899535be2de89af818
SAM3: Remove unused reference to SUPC registers

The SUPC (Supply Controller) registers are on different base addresses on different
SAM3 chips:
SAM3U: 0x400e1210
SAM3N: 0x400e1410
SAM3S: 0x400e1410

This creates a problem with the sam3_reg_list array which is const, but would need
to be changed at runtime to account for this variability. As this register is not
used anywhere, it's simplest to just remove it.

Change-Id: I987eb371648d826aa6d5e9de18d38c7bb66d6fca
Signed-off-by: Attila Kinali <attila@kinali.ch>
Reviewed-on: http://openocd.zylin.com/495
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/at91sam3.c