From Sega v. Accolade - https://openjurist.org/977/f2d/1510
>We hold that when there is no other method of access to the computer that is known or readily available to rival cartridge manufacturers, the use of the initialization code by a rival does not violate the [Lanham Trademark] Act even though that use triggers a misleading trademark display.
I seem to remember a similar case for the Gameboy ROM that needed to contain an image of the Nintendo trademark to boot, but couldn't find a good online reference. Lexmark tried to pull a similar stunt by claiming the ROM code in their cartridge chips was executable code in a secret language, but courts again said it was an access control code first, and thus functional not creative.