diff options
author | Joel Stanley <joel@jms.id.au> | 2018-02-28 16:46:09 +1030 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-10-24 19:02:59 +1100 |
commit | 6433d05f9b5cd84182b25d1f9917537af090e479 (patch) | |
tree | 305e266db85ea4d4216ec93891371754e55ea01a | |
parent | fd4bbc869b02ea4f3dd08427d218717c0fd278d0 (diff) | |
download | skiboot-6433d05f9b5cd84182b25d1f9917537af090e479.zip skiboot-6433d05f9b5cd84182b25d1f9917537af090e479.tar.gz skiboot-6433d05f9b5cd84182b25d1f9917537af090e479.tar.bz2 |
ast-bmc: Document BMC scratch register
[ Upstream commit c032c5991207bf143dec38d6d0527fb1a1944fac ]
ASPEED BMCs use SIO register 0x29 to configure host firmwrae settings.
This documents those setings as currently used by Hostboot in [1].
Despite the naming, these settings are relevant for ast2500 systems as
well.
[1] src/usr/initservice/bootconfig/bootconfig_ast2400.H
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r-- | hw/ast-bmc/ast-io.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/hw/ast-bmc/ast-io.c b/hw/ast-bmc/ast-io.c index 1e826fc..cd1aba2 100644 --- a/hw/ast-bmc/ast-io.c +++ b/hw/ast-bmc/ast-io.c @@ -95,6 +95,26 @@ #define BMC_SIO_SCR28 0x28 #define BOOT_FLAGS_VERSION 0x42 +/* + * SIO Register 0x29: Boot Flags (normal bit ordering) + * + * [7:6] Hostboot Boot mode: + * 00 : Normal + * 01 : Terminate on first error + * 10 : istep mode + * 11 : reserved + * [5:4] Boot options + * 00 : reserved + * 01 : Memboot + * 10 : Clear gard + * 11 : reserved + * [ 3 ] BMC mbox PNOR driver + * [2:0] Hostboot Log level: + * 000 : Normal + * 001 : Enable Scan trace + * xxx : reserved + */ + #define BMC_SIO_SCR29 0x29 #define BMC_SIO_SCR29_MEMBOOT 0x10 |