summaryrefslogtreecommitdiff
path: root/CorebootModulePkg/Include/Coreboot.h
diff options
context:
space:
mode:
authorZhang, Chao B <chao.b.zhang@intel.com>2016-05-11 08:59:40 +0800
committerZhang, Chao B <chao.b.zhang@intel.com>2016-05-11 08:59:40 +0800
commit070827be5a5727c736acf5d645722be073640952 (patch)
tree9673cee0e32b49da9db60d43dd68f5cc2ad5c22b /CorebootModulePkg/Include/Coreboot.h
parentf1005559ec0ab65d42526313eb819f60c120eab8 (diff)
parent49effaf26ec952905bc7710587c6a58437864cdf (diff)
downloadedk2-platforms-070827be5a5727c736acf5d645722be073640952.tar.xz
Merge branch 'master' of github.com:tianocore/edk2
Diffstat (limited to 'CorebootModulePkg/Include/Coreboot.h')
-rw-r--r--CorebootModulePkg/Include/Coreboot.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/CorebootModulePkg/Include/Coreboot.h b/CorebootModulePkg/Include/Coreboot.h
index f2f18be2cc..784e0b128a 100644
--- a/CorebootModulePkg/Include/Coreboot.h
+++ b/CorebootModulePkg/Include/Coreboot.h
@@ -80,7 +80,7 @@ struct imd_root {
UINT32 max_entries;
UINT32 num_entries;
UINT32 flags;
- UINT32 entry_align;
+ UINT32 entry_align;
UINT32 max_offset;
struct imd_entry entries[0];
};
@@ -165,6 +165,21 @@ struct cb_serial {
UINT32 type;
UINT32 baseaddr;
UINT32 baud;
+ UINT32 regwidth;
+
+ // Crystal or input frequency to the chip containing the UART.
+ // Provide the board specific details to allow the payload to
+ // initialize the chip containing the UART and make independent
+ // decisions as to which dividers to select and their values
+ // to eventually arrive at the desired console baud-rate.
+ UINT32 input_hertz;
+
+ // UART PCI address: bus, device, function
+ // 1 << 31 - Valid bit, PCI UART in use
+ // Bus << 20
+ // Device << 15
+ // Function << 12
+ UINT32 uart_pci_addr;
};
#define CB_TAG_CONSOLE 0x00010