Setting the ROM content in an initial block is the exact equivalent to the VHDL initialized signal and should work with any device, that has ROM functionality. Setting the values in an explicite reset can prevent ROM inference, if the device hardware lacks a reset capability for the ROM.