sunxi: Add CPUCFG debug lock and sun7i cpu power controls
authorChen-Yu Tsai <wens@csie.org>
Tue, 7 Jun 2016 02:54:32 +0000 (10:54 +0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 20 Jun 2016 20:44:00 +0000 (22:44 +0200)
commit7579a3ec8c655b57f072c44c92f281fdc5401450
tree37b637e3593552961a7cb274c0779dd7e95a0ee9
parent20e3d05370b75bc71b74765adc80de35ad2d2ec7
sunxi: Add CPUCFG debug lock and sun7i cpu power controls

CPUCFG has an unlisted debug control register, which is used to disable
external debug access.

Also, sun7i secondary core power controls are in CPUCFG, as there's no
separate PRCM block.

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