Ignore:
Timestamp:
Aug 21, 2008, 4:16:47 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
cec5c069
Parents:
d79a27be
Message:

2008-08-21 Joel Sherrill <joel.sherrill@…>

  • Makefile.am: Added bspclean.c and use shared bsppretaskinghook.c.
  • console/console.c: Added poll for char helper.
  • include/bsp.h: Add macro definitions for optional reset behavior.
  • startup/bspstart.c: Split out bsp_cleanup(). Clean up.
  • startup/bspclean.c: New file. Not can press any key on normal shutdown to reset board when on MPC8313erdb.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/gen83xx/include/bsp.h

    rd79a27be rd9be8024  
    3333#define CONFIG_HAS_ETH1
    3434
     35/* We want to prompt for a reset and then reset the board */
     36#define BSP_PRESS_KEY_FOR_RESET 1
     37#define BSP_RESET_BOARD_AT_EXIT 1
     38
    3539#endif /* MPC8313ERDB */
    3640
     
    4347 */
    4448
    45 LINKER_SYMBOL( bsp_ram_start);
    46 LINKER_SYMBOL( bsp_ram_end);
    47 LINKER_SYMBOL( bsp_ram_size);
    48 
    49 LINKER_SYMBOL( bsp_rom_start);
    50 LINKER_SYMBOL( bsp_rom_end);
    51 LINKER_SYMBOL( bsp_rom_size);
    52 
    53 LINKER_SYMBOL( bsp_section_text_start);
    54 LINKER_SYMBOL( bsp_section_text_end);
    55 LINKER_SYMBOL( bsp_section_text_size);
    56 
    57 LINKER_SYMBOL( bsp_section_data_start);
    58 LINKER_SYMBOL( bsp_section_data_end);
    59 LINKER_SYMBOL( bsp_section_data_size);
    60 
    61 LINKER_SYMBOL( bsp_section_bss_start);
    62 LINKER_SYMBOL( bsp_section_bss_end);
    63 LINKER_SYMBOL( bsp_section_bss_size);
    64 
    65 LINKER_SYMBOL( bsp_interrupt_stack_start);
    66 LINKER_SYMBOL( bsp_interrupt_stack_end);
    67 LINKER_SYMBOL( bsp_interrupt_stack_size);
    68 
    69 LINKER_SYMBOL( bsp_work_area_start);
    70 
    71 LINKER_SYMBOL( IMMRBAR);
     49LINKER_SYMBOL(bsp_ram_start);
     50LINKER_SYMBOL(bsp_ram_end);
     51LINKER_SYMBOL(bsp_ram_size);
     52
     53LINKER_SYMBOL(bsp_rom_start);
     54LINKER_SYMBOL(bsp_rom_end);
     55LINKER_SYMBOL(bsp_rom_size);
     56
     57LINKER_SYMBOL(bsp_section_text_start);
     58LINKER_SYMBOL(bsp_section_text_end);
     59LINKER_SYMBOL(bsp_section_text_size);
     60
     61LINKER_SYMBOL(bsp_section_data_start);
     62LINKER_SYMBOL(bsp_section_data_end);
     63LINKER_SYMBOL(bsp_section_data_size);
     64
     65LINKER_SYMBOL(bsp_section_bss_start);
     66LINKER_SYMBOL(bsp_section_bss_end);
     67LINKER_SYMBOL(bsp_section_bss_size);
     68
     69LINKER_SYMBOL(bsp_interrupt_stack_start);
     70LINKER_SYMBOL(bsp_interrupt_stack_end);
     71LINKER_SYMBOL(bsp_interrupt_stack_size);
     72
     73LINKER_SYMBOL(bsp_work_area_start);
     74
     75LINKER_SYMBOL(IMMRBAR);
    7276
    7377#ifndef ASM
Note: See TracChangeset for help on using the changeset viewer.