Message ID | 20161109102136.13479-5-wens@csie.org |
---|---|
State | Superseded |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show |
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: > The A80 has a 256 kiB secure SRAM. However the first 4 kiB are reserved > for CPU0 hotplug flags. > > Signed-off-by: Chen-Yu Tsai <wens@csie.org> LGTM: Reviewed-by: Hans de Goede <hdegoede@redhat.com> Regards, Hans > --- > include/configs/sun9i.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/include/configs/sun9i.h b/include/configs/sun9i.h > index cd9e08d8b1b9..e751c5e05c14 100644 > --- a/include/configs/sun9i.h > +++ b/include/configs/sun9i.h > @@ -13,6 +13,10 @@ > * A80 specific configuration > */ > > +/* First 4 kiB is reserved for CPU0 hotplug flags */ > +#define CONFIG_ARMV7_SECURE_BASE (SUNXI_SRAM_B_BASE + 4 * 1024) > +#define CONFIG_ARMV7_SECURE_MAX_SIZE (252 * 1024) /* 252 KB */ > + > /* > * Include common sunxi configuration where most the settings are > */ >
diff --git a/include/configs/sun9i.h b/include/configs/sun9i.h index cd9e08d8b1b9..e751c5e05c14 100644 --- a/include/configs/sun9i.h +++ b/include/configs/sun9i.h @@ -13,6 +13,10 @@ * A80 specific configuration */ +/* First 4 kiB is reserved for CPU0 hotplug flags */ +#define CONFIG_ARMV7_SECURE_BASE (SUNXI_SRAM_B_BASE + 4 * 1024) +#define CONFIG_ARMV7_SECURE_MAX_SIZE (252 * 1024) /* 252 KB */ + /* * Include common sunxi configuration where most the settings are */
The A80 has a 256 kiB secure SRAM. However the first 4 kiB are reserved for CPU0 hotplug flags. Signed-off-by: Chen-Yu Tsai <wens@csie.org> --- include/configs/sun9i.h | 4 ++++ 1 file changed, 4 insertions(+)