- /* We need to init link between 4, and 5 direct link */
- val = get_row(4,4);
- byte = ((val>>16) & 0xfe) - link_connection(4,2);
- byte = get_linkn_last_count(byte);
-#if CONFIG_MAX_CPUS>4
- // We need to find out which link it so CPU5
- // methods is try to access another 7 actully it is cpu6
- if((byte>>2)==2) { // one to CPU5, one to cpu2, one to CPU6
- setup_temp_row(0,2);
- setup_temp_row(2,4);
- setup_row_direct(4, 6, byte);
- setup_temp_row(4, 6);
-
- if (check_connection(7)) { // so the link is to CPU4
- //We need to re compute it
- val = get_row(4,4);
- byte = (val>>16) & 0xfe;
- byte = get_linkn_first(byte);
- }
- }
-#endif
- setup_row_direct(4,5, byte & 0x3);
-
- val = get_row(5,5);
- byte = ((val>>16) & 0xfe) - link_connection(5,3);
- byte = get_linkn_last_count(byte);
-#if CONFIG_MAX_CPUS>4
- // We need to find out which link it so CPU4
- // methods is try to access another 7 actully it is cpu7
- if((byte>>2)==2) { // one to CPU4, one to cpu3, one to CPU7
- setup_temp_row(0,1);
- setup_temp_row(1,3);
- setup_temp_row(3,7);
- setup_row_direct(5, 7, byte);
- setup_temp_row(5, 7);
-
- if (check_connection(7)) { // so the link is to CPU5
- //We need to re compute it
- val = get_row(5, 5);
- byte = (val>>16) & 0xfe;
- byte = get_linkn_first(byte);
- }
- }
-#endif
- setup_row_direct(5,4, byte & 0x3);
-#endif // !CROSS_BAR_47_56
-
- /* Set indirect connection to 0, to 3 for indirect we will use clockwise routing */
- static const u8 conn6_2[] = {