Changeset 556 for trunk/boot/tsar_mips32/boot_tty_driver.c
- Timestamp:
- Sep 21, 2018, 10:25:39 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.