source: rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/reset.c @ d922dab

4.115
Last change on this file since d922dab was d922dab, checked in by Sebastian Huber <sebastian.huber@…>, on 11/08/11 at 10:13:32

2011-11-08 Sebastian Huber <sebastian.huber@…>

  • make/custom/mpc5566evb_spe.cfg, make/custom/mpc5674fevb_spe.cfg, startup/linkcmds.mpc5566evb_spe, startup/linkcmds.mpc5674fevb_spe, startup/reset.c: New files.
  • Makefile.am, preinstall.am: Reflect changes above.
  • startup/early-init.c: Added missing section attribute.
  • configure.ac, network/smsc9218i.c: New BSP options SMSC9218I_EDMA_RX_CHANNEL and SMSC9218I_EDMA_TX_CHANNEL. Enable reset at cleanup.
  • Property mode set to 100644
File size: 566 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup mpc55xx
5 *
6 * @brief BSP reset.
7 */
8
9/*
10 * Copyright (c) 2011 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Obere Lagerstr. 30
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.com/license/LICENSE.
21 *
22 * $Id$
23 */
24
25#include <stdbool.h>
26
27#include <bsp/bootcard.h>
28
29#include <mpc55xx/regs.h>
30
31void bsp_reset(void)
32{
33  while (true) {
34    SIU.SRCR.R = 0x1;
35  }
36}
Note: See TracBrowser for help on using the repository browser.