Message ID | 20200207083857.28058-8-jerry.huang@nxp.com |
---|---|
State | Changes Requested |
Headers | show |
Series | [v5,1/9] package/nxp: new package directory | expand |
On 07/02/2020 09:38, Changming Huang wrote: > Introduce BR2_PACKAGE_HOST_QORIQ_RCW_BOOT_MODE for the boot mode. > Because the RCW binary can be stored in different media, for example: > sd - RCW locate in SD card, boot the board from SD card > emmc - RCW locate in eMMC chip, boot the board from eMMC chip > qspi - RCW locate in QSPI flash, boot the board from QSPI flash > flexspi_nor - RCW locate in flexSPI, boot the board from flexSPI Nor/Nand flash > > Signed-off-by: Changming Huang <jerry.huang@nxp.com> > --- > changes since v4: > no changes. > > changes since v3: > 1. split this option from board patch. > --- > package/nxp/qoriq-rcw/Config.in.host | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/package/nxp/qoriq-rcw/Config.in.host b/package/nxp/qoriq-rcw/Config.in.host > index 9bf55894e8..7f5fbb3202 100644 > --- a/package/nxp/qoriq-rcw/Config.in.host > +++ b/package/nxp/qoriq-rcw/Config.in.host > @@ -37,4 +37,10 @@ config BR2_PACKAGE_HOST_QORIQ_RCW_BIN > > If this option is empty, no rcw file is used. > > +config BR2_PACKAGE_HOST_QORIQ_RCW_BOOT_MODE You introduce this symbol but it is not used anywhere. So what is the point? I marked it as rejected. Regards, Arnout > + string "QorIQ RCW Boot mode" > + depends on !BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH > + help > + Specify the boot mode, for example, sd, emmc, flexspi_nor. > + > endif >
diff --git a/package/nxp/qoriq-rcw/Config.in.host b/package/nxp/qoriq-rcw/Config.in.host index 9bf55894e8..7f5fbb3202 100644 --- a/package/nxp/qoriq-rcw/Config.in.host +++ b/package/nxp/qoriq-rcw/Config.in.host @@ -37,4 +37,10 @@ config BR2_PACKAGE_HOST_QORIQ_RCW_BIN If this option is empty, no rcw file is used. +config BR2_PACKAGE_HOST_QORIQ_RCW_BOOT_MODE + string "QorIQ RCW Boot mode" + depends on !BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH + help + Specify the boot mode, for example, sd, emmc, flexspi_nor. + endif
Introduce BR2_PACKAGE_HOST_QORIQ_RCW_BOOT_MODE for the boot mode. Because the RCW binary can be stored in different media, for example: sd - RCW locate in SD card, boot the board from SD card emmc - RCW locate in eMMC chip, boot the board from eMMC chip qspi - RCW locate in QSPI flash, boot the board from QSPI flash flexspi_nor - RCW locate in flexSPI, boot the board from flexSPI Nor/Nand flash Signed-off-by: Changming Huang <jerry.huang@nxp.com> --- changes since v4: no changes. changes since v3: 1. split this option from board patch. --- package/nxp/qoriq-rcw/Config.in.host | 6 ++++++ 1 file changed, 6 insertions(+)