29 #ifndef LIBBSP_POWERPC_GEN83XX_BSP_H 30 #define LIBBSP_POWERPC_GEN83XX_BSP_H 42 #define BSP_FEATURE_IRQ_EXTENSION 48 #include <bsp/hwreg_vals.h> 54 LINKER_SYMBOL(bsp_ram_start);
55 LINKER_SYMBOL(bsp_ram_end);
56 LINKER_SYMBOL(bsp_ram_size);
58 LINKER_SYMBOL(bsp_rom_start);
59 LINKER_SYMBOL(bsp_rom_end);
60 LINKER_SYMBOL(bsp_rom_size);
62 LINKER_SYMBOL(bsp_section_text_start);
63 LINKER_SYMBOL(bsp_section_text_end);
64 LINKER_SYMBOL(bsp_section_text_size);
66 LINKER_SYMBOL(bsp_section_data_start);
67 LINKER_SYMBOL(bsp_section_data_end);
68 LINKER_SYMBOL(bsp_section_data_size);
70 LINKER_SYMBOL(bsp_section_bss_start);
71 LINKER_SYMBOL(bsp_section_bss_end);
72 LINKER_SYMBOL(bsp_section_bss_size);
74 LINKER_SYMBOL(bsp_work_area_start);
76 LINKER_SYMBOL(IMMRBAR);
92 #undef RTEMS_BSP_HAS_IDE_DRIVER 95 #define BSP_ARRAY_CNT(arr) (sizeof(arr)/sizeof(arr[0])) 98 #define BSP_IDLE_TASK_BODY bsp_idle_thread 107 struct rtems_bsdnet_ifconfig;
108 extern int BSP_tsec_attach(
struct rtems_bsdnet_ifconfig *
config,
int attaching);
109 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH BSP_tsec_attach 111 #ifdef MPC83XX_BOARD_MPC8313ERDB 112 #define RTEMS_BSP_NETWORK_DRIVER_NAME "tsec2" 113 #define RTEMS_BSP_NETWORK_DRIVER_NAME2 "tsec1" 115 #define RTEMS_BSP_NETWORK_DRIVER_NAME "tsec1" 116 #define RTEMS_BSP_NETWORK_DRIVER_NAME2 "tsec2" 119 #if defined(MPC83XX_BOARD_MPC8349EAMDS) 123 #define RTEMS_BSP_I2C_EEPROM_DEVICE_NAME "eeprom" 124 #define RTEMS_BSP_I2C_EEPROM_DEVICE_PATH "/dev/i2c1.eeprom" 129 #define RTEMS_BSP_SPI_FLASH_DEVICE_NAME "flash" 130 #define RTEMS_BSP_SPI_FLASH_DEVICE_PATH "/dev/spi.flash" 133 #if defined(MPC83XX_BOARD_HSC_CM01) 137 #define RTEMS_BSP_I2C_EEPROM_DEVICE_NAME "eeprom" 138 #define RTEMS_BSP_I2C_EEPROM_DEVICE_PATH "/dev/i2c1.eeprom" 143 #define RTEMS_BSP_SPI_FRAM_DEVICE_NAME "fram" 144 #define RTEMS_BSP_SPI_FRAM_DEVICE_PATH "/dev/spi.fram" 147 extern unsigned int BSP_bus_frequency;
155 #define BSP_Convert_decrementer( _value ) \ 156 ((int) (((_value) * 10) / bsp_clicks_per_usec)) 158 void mpc83xx_zero_4(
void *dest,
size_t n);
160 void cpu_init(
void);
164 #if defined(HAS_UBOOT) 166 const char *bsp_uboot_getenv(
Definition: deflate.c:115
uint32_t bsp_clicks_per_usec
Time base clicks per micro second.
Definition: bspstart.c:99
DEFAULT_INITIAL_EXTENSION Support.
General purpose assembler macros, linker command file support and some inline functions for direct re...
rtems_status_code
Classic API Status.
Definition: status.h:43
void * bsp_idle_thread(uintptr_t ignored)
Optimized idle task.
Definition: bspidle.c:26
void bsp_restart(const void *addr)
Restarts the bsp with "addr" address.
Definition: restart.c:25