Changeset 556 for trunk/boot/tsar_mips32
- Timestamp:
- Sep 21, 2018, 10:25:39 PM (6 years ago)
- Location:
- trunk/boot/tsar_mips32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/boot/tsar_mips32/boot.c
r552 r556 404 404 boot_info->x_max = header->x_size; // [FIXME] 405 405 boot_info->y_max = header->name[5] == 'l' ? header->y_size - 1 : header->y_size; // [FIXME] 406 boot_info->use_mty0 = header->name[5] == 'l' ? true : false;407 406 boot_info->paddr_width = header->paddr_width; 408 407 boot_info->io_cxy = header->io_cxy; -
trunk/boot/tsar_mips32/boot_tty_driver.c
r541 r556 43 43 #endif 44 44 45 #ifdef IS_LETI 46 #define TARGET_CLUSTER 0 47 #else 48 #define TARGET_CLUSTER ((X_IO << Y_WIDTH) + Y_IO) 45 #ifndef TXT_TGT_CLUSTER 46 # error "The TXT_TGT_CLUSTER value should be defined in the 'hard_config.h' file" 49 47 #endif 50 51 48 52 49 ///////////////////////////////////////////////////////////////////////////// … … 57 54 static uint32_t boot_tty_get_register( uint32_t reg ) 58 55 { 59 cxy_t cxy = T ARGET_CLUSTER;56 cxy_t cxy = TXT_TGT_CLUSTER; 60 57 uint32_t * ptr = (uint32_t *)SEG_TXT_BASE + reg; 61 58 … … 72 69 uint32_t val ) 73 70 { 74 cxy_t cxy = T ARGET_CLUSTER;71 cxy_t cxy = TXT_TGT_CLUSTER; 75 72 uint32_t * ptr = (uint32_t *)SEG_TXT_BASE + reg; 76 73
Note: See TracChangeset
for help on using the changeset viewer.