Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/bhnd/cores/chipc/chipc_subr.c
Show First 20 Lines • Show All 242 Lines • ▼ Show 20 Lines | #define CC_TFS(_flag) (caps->_flag ? "yes" : "no") | ||||
// XXX: hitting a kvprintf bug with '%#02x' not prefixing '0x' in | // XXX: hitting a kvprintf bug with '%#02x' not prefixing '0x' in | ||||
// some cases, and not apply the field width in others | // some cases, and not apply the field width in others | ||||
device_printf(dev, "UARTClk: 0x%02x | Flash: %u\n", | device_printf(dev, "UARTClk: 0x%02x | Flash: %u\n", | ||||
caps->uart_clock, caps->flash_type); | caps->uart_clock, caps->flash_type); | ||||
device_printf(dev, "SPROM: %-3s | OTP: %s\n", | device_printf(dev, "SPROM: %-3s | OTP: %s\n", | ||||
CC_TFS(sprom), CC_TFS(otp_size)); | CC_TFS(sprom), CC_TFS(otp_size)); | ||||
device_printf(dev, "CFIsz: 0x%02x | OTPsz: 0x%02x\n", | device_printf(dev, "CFIsz: 0x%02x | OTPsz: 0x%02x\n", | ||||
caps->cfi_width, caps->otp_size); | caps->cfi_width, caps->otp_size); | ||||
device_printf(dev, "ExtBus: 0x%02x | PwCtl: %s\n", | device_printf(dev, "ExtBus: 0x%02x | PwrCtrl: %s\n", | ||||
caps->extbus_type, CC_TFS(power_control)); | caps->extbus_type, CC_TFS(pwr_ctrl)); | ||||
device_printf(dev, "PLL: 0x%02x | JTAGM: %s\n", | device_printf(dev, "PLL: 0x%02x | JTAGM: %s\n", | ||||
caps->pll_type, CC_TFS(jtag_master)); | caps->pll_type, CC_TFS(jtag_master)); | ||||
device_printf(dev, "PMU: %-3s | ECI: %s\n", | device_printf(dev, "PMU: %-3s | ECI: %s\n", | ||||
CC_TFS(pmu), CC_TFS(eci)); | CC_TFS(pmu), CC_TFS(eci)); | ||||
device_printf(dev, "SECI: %-3s | GSIO: %s\n", | device_printf(dev, "SECI: %-3s | GSIO: %s\n", | ||||
CC_TFS(seci), CC_TFS(gsio)); | CC_TFS(seci), CC_TFS(gsio)); | ||||
device_printf(dev, "AOB: %-3s | BootROM: %s\n", | device_printf(dev, "AOB: %-3s | BootROM: %s\n", | ||||
CC_TFS(aob), CC_TFS(boot_rom)); | CC_TFS(aob), CC_TFS(boot_rom)); | ||||
▲ Show 20 Lines • Show All 265 Lines • Show Last 20 Lines |