All linker scripts currently contain a definition for CCM SRAM. A lot of devices do not have this type of SRAM.
Look into the possibilities of omitting this definition for devices without CCM SRAM. For example, does ld throw an error when it is omitted? Or are there options to conditionally execute parts of linker scripts?