Exemplo n.º 1
0
/*****************************************
* Configure RS780 registers to power-on default RPR.
* POR: Power On Reset
* RPR: Register Programming Requirements
*****************************************/
static void rs780_por_init(pci_devfn_t nb_dev)
{
	printk(BIOS_INFO, "rs780_por_init\n");
	/* ATINB_PCICFG_POR_TABLE, initialize the values for rs780 PCI Config registers */
	rs780_por_pcicfg_init(nb_dev);

	/* ATINB_MCIND_POR_TABLE */
	rs780_por_mc_index_init(nb_dev);

	/* ATINB_MISCIND_POR_TABLE */
	rs780_por_misc_index_init(nb_dev);

	/* ATINB_HTIUNBIND_POR_TABLE */
	rs780_por_htiu_index_init(nb_dev);

	/* ATINB_CLKCFG_PORT_TABLE */
	/* rs780 A11 SB Link full swing? */

	/* SET NB_MISC_REG01 BIT8 to Enable HDMI, reference CIMX_5_9_3 NBPOR_InitPOR(),
	 * then the accesses to internal graphics IO space 0x60/0x64, are forwarded to
	 * nbconfig:0x60/0x64
	 */

	set_nbmisc_enable_bits(nb_dev, 0x01, ~(1 << 8), (1 << 8));
}
Exemplo n.º 2
0
void rs780_por_init(device_t nb_tag)
{
    /* ATINB_PCICFG_POR_TABLE, initialize the values for rs780 PCI Config registers */
    rs780_por_pcicfg_init(nb_tag);
    /* ATINB_MCIND_POR_TABLE */
    rs780_por_mc_index_init(nb_tag);

    /* ATINB_MISCIND_POR_TABLE */
    rs780_por_misc_index_init(nb_tag);

    /* ATINB_HTIUNBIND_POR_TABLE */
    rs780_por_htiu_index_init(nb_tag);

    /* ATINB_CLKCFG_PORT_TABLE */
    /* rs780 A11 SB Link full swing? */
}