I found the issue.
The issue was that i have added "opensbi" using EXTRA_IMAGEDEPENDS through conf/machine/<machine>.conf file and that has made "opensbi" as dependency for initramfs image also.
This has created the circular dependency.
I added a EXTRA_IMAGEDEPENDS = "" to the core-image-minimal-initramfs.bb
This fixed the circular dependency issue.