I tried to boot a multi uImage from nand containing the kerenl and several device trees. It was failing because bootm want to open the .bb device multiblei times to check the filetype. I separate the changes for review, feel free to squash the patches.