14 const char *hwi_block =
"hwinfo.hex";
16 if (hwilib_find_blocks(hwi_block) !=
CB_SUCCESS) {
17 printk(
BIOS_ERR,
"LCD: Info block \"%s\" not found!\n", hwi_block);
23 printk(
BIOS_ERR,
"LCD: No EDID data available in %s\n", hwi_block);
43 const char *hwi_block =
"hwinfo.hex";
46 if (hwilib_find_blocks(hwi_block) !=
CB_SUCCESS) {
47 printk(
BIOS_ERR,
"LCD: Info block \"%s\" not found!\n", hwi_block);
51 if (hwilib_get_field(PF_DisplCon, &disp_con,
sizeof(disp_con)) !=
sizeof(disp_con)) {
52 printk(
BIOS_ERR,
"LCD: Missing panel features from %s\n", hwi_block);
57 printk(
BIOS_ERR,
"LCD: Missing panel features from %s\n", hwi_block);
63 if (disp_con == PF_DISPLCON_LVDS_DUAL) {
cb_err
coreboot error codes
@ CB_ERR
Generic error code.
@ CB_SUCCESS
Call completed successfully.
#define printk(level,...)
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
uint8_t mb_select_edid_table(void)
This function provides EDID block [0..6] to the driver for DP2LVDS Bridge (PTN3460) which has to be u...
int mb_adjust_cfg(struct ptn_3460_config *cfg)
Function to enable mainboard to adjust the config data of PTN3460.
enum cb_err mb_get_edid(uint8_t edid_data[0x80])
This function provides EDID data to the driver for DP2LVDS Bridge (PTN3460)