How to make single stage u-boot

Hi,
I am working on u-boot, i want to make 2 stages of boot loaders into single stage boot loader with minimal functionality of loading the kernel and root file system. Help out me…

Thanks
Venkatesh