]> git.sur5r.net Git - u-boot/commit
sunxi: Group cpu core related controls together
authorChen-Yu Tsai <wens@csie.org>
Tue, 7 Jun 2016 02:54:31 +0000 (10:54 +0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 20 Jun 2016 20:44:00 +0000 (22:44 +0200)
commit20e3d05370b75bc71b74765adc80de35ad2d2ec7
tree11e047482599f85f27b2bbac2cd733168721ba38
parent57c2a255725a033407835cc596158a153c255bc1
sunxi: Group cpu core related controls together

Instead of listing individual registers for controls to each processor
core, list them as an array of registers. This makes accessing controls
by core index easier.

Also rename "cpucfg_sun6i.h" (which was unused anyway) to the more generic
"cpucfg.h", and add packed attribute to struct sunxi_cpucfg.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/include/asm/arch-sunxi/cpucfg.h [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/cpucfg_sun6i.h [deleted file]
arch/arm/include/asm/arch-sunxi/prcm.h