Although I wouldn't have drilled holes in that firewall to mount that orange box.
How do you know that the ECU box is not in it's factory location ?
Electronic Ignition was an option on the 340 half way through 1971 and this car has it in the proper location using the proper mounting bracket.