You can put "panic=N" on the kernel command line to make the system reboot N seconds after a panic.
But is there a config option to specify this (other than the default kernel command line option) before even boot loader comes into a play? Some kernel option may be?