[rtems commit] bsp/gen5200: Reflect clocks of new BRS5L hardware
Sebastian Huber
sebh at rtems.org
Fri Mar 9 14:55:45 UTC 2012
Module: rtems
Branch: master
Commit: 3bd4656fc4fed2e096288592590cfc919f6249c5
Changeset: http://git.rtems.org/rtems/commit/?id=3bd4656fc4fed2e096288592590cfc919f6249c5
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Mar 9 15:46:07 2012 +0100
bsp/gen5200: Reflect clocks of new BRS5L hardware
---
c/src/lib/libbsp/powerpc/gen5200/include/bsp.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h b/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h
index cdfdd0c..c54846f 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h
@@ -170,6 +170,10 @@ extern int rtems_mpc5200_fec_driver_attach_detach (struct rtems_bsdnet_ifconfig
#define IPB_CLOCK (bsp_uboot_board_info.bi_ipbfreq)
#define XLB_CLOCK (bsp_uboot_board_info.bi_busfreq)
#define G2_CLOCK (bsp_uboot_board_info.bi_intfreq)
+#elif defined(BRS5L)
+#define IPB_CLOCK 66000000 /* 66 MHz */
+#define XLB_CLOCK 132000000 /* 132 MHz */
+#define G2_CLOCK 396000000 /* 396 MHz */
#else
#define IPB_CLOCK 33000000 /* 33 MHz */
#define XLB_CLOCK 66000000 /* 66 MHz */
More information about the vc
mailing list