mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
m68k: Add generic board support for MCF547X/8X and MCF5445X
This patch adds generic board support for MCF547X/8X and MCF5445X. It is based on the patch about common generic board support for M68K architecture sent by Angelo. Signed-off-by: Alison Wang <alison.wang@freescale.com>
This commit is contained in:
@@ -648,6 +648,14 @@ static int setup_board_part2(void)
|
||||
bd->bi_ipbfreq = gd->arch.ipb_clk;
|
||||
bd->bi_pcifreq = gd->pci_clk;
|
||||
#endif /* CONFIG_MPC5xxx */
|
||||
#if defined(CONFIG_M68K) && defined(CONFIG_PCI)
|
||||
bd->bi_pcifreq = gd->pci_clk;
|
||||
#endif
|
||||
#if defined(CONFIG_EXTRA_CLOCK)
|
||||
bd->bi_inpfreq = gd->arch.inp_clk; /* input Freq in Hz */
|
||||
bd->bi_vcofreq = gd->arch.vco_clk; /* vco Freq in Hz */
|
||||
bd->bi_flbfreq = gd->arch.flb_clk; /* flexbus Freq in Hz */
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user