How to define custome QSPI device in the preloader

How and where should i define the parameters of a new QSPI device in order to run uboot correct