Please refer to the U-Boot Integration chapter in the Developer's Guide.