[rtems commit] bsp/gen5200: Reflect clocks of new BRS5L hardware
Joel Sherrill
joel at rtems.org
Thu Mar 29 14:14:28 UTC 2012
Module: rtems
Branch: master
Commit: 5de344f616e656239b423fa0d7f1460746ad4fc4
Changeset: http://git.rtems.org/rtems/commit/?id=5de344f616e656239b423fa0d7f1460746ad4fc4
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