[U-Boot] Single u-boot for quad/duallite

Since we are slowly heading toward a single u-boot for quad/duallite, can we find a solution to this now.
mx6sabre_common.h: "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \ mx6sabresd.h:#define CONFIG_DEFAULT_FDT_FILE "imx6q-sabresd.dtb" mx6sabresd.h:#define CONFIG_DEFAULT_FDT_FILE "imx6dl-sabresd.dtb"
Perhaps common code could create this environment variable by concatenating with the board name if not already existing in the environment.
Opinions?
Thanks Troy

On Wed, Mar 5, 2014 at 4:30 PM, Troy Kisky troy.kisky@boundarydevices.com wrote:
Since we are slowly heading toward a single u-boot for quad/duallite, can we find a solution to this now.
mx6sabre_common.h: "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \ mx6sabresd.h:#define CONFIG_DEFAULT_FDT_FILE "imx6q-sabresd.dtb" mx6sabresd.h:#define CONFIG_DEFAULT_FDT_FILE "imx6dl-sabresd.dtb"
Perhaps common code could create this environment variable by concatenating with the board name if not already existing in the environment.
Opinions?
I fully agree. Are you going to look at this?

On 3/5/2014 12:38 PM, Otavio Salvador wrote:
On Wed, Mar 5, 2014 at 4:30 PM, Troy Kisky troy.kisky@boundarydevices.com wrote:
Since we are slowly heading toward a single u-boot for quad/duallite, can we find a solution to this now.
mx6sabre_common.h: "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \ mx6sabresd.h:#define CONFIG_DEFAULT_FDT_FILE "imx6q-sabresd.dtb" mx6sabresd.h:#define CONFIG_DEFAULT_FDT_FILE "imx6dl-sabresd.dtb"
Perhaps common code could create this environment variable by concatenating with the board name if not already existing in the environment.
Opinions?
I fully agree. Are you going to look at this?
Sure, I'll cook something up.
Troy

Hi Troy,
On 05/03/2014 20:30, Troy Kisky wrote:
Since we are slowly heading toward a single u-boot for quad/duallite, can we find a solution to this now.
mx6sabre_common.h: "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \ mx6sabresd.h:#define CONFIG_DEFAULT_FDT_FILE "imx6q-sabresd.dtb" mx6sabresd.h:#define CONFIG_DEFAULT_FDT_FILE "imx6dl-sabresd.dtb"
Perhaps common code could create this environment variable by concatenating with the board name if not already existing in the environment.
Opinions?
Yes, we can do this way.
Regards, Stefano Babic
participants (3)
-
Otavio Salvador
-
Stefano Babic
-
Troy Kisky