[U-Boot] [PATCH 3/3] omap4_panda: Convert to config_distro_bootcmd.h

Tom Rini trini at konsulko.com
Fri Dec 11 22:53:06 CET 2015


On Thu, Dec 10, 2015 at 05:01:25PM -0600, Robert Nelson wrote:
> On Thu, Dec 10, 2015 at 4:58 PM, Robert Nelson <robertcnelson at gmail.com> wrote:
> > On Thu, Dec 10, 2015 at 3:46 PM, Tom Rini <trini at konsulko.com> wrote:
> >> Based on the am335x_evm conversion, switch to config_distro_bootcmd for
> >> mmc and pxe.  Tested with Fedora 23.
> >>
> >> Signed-off-by: Tom Rini <trini at konsulko.com>
> >> ---
> >>  include/configs/ti_omap4_common.h |   51 ++++++++++++++++++++-----------------
> >>  1 file changed, 27 insertions(+), 24 deletions(-)
> >>
> >> diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
> >> index 08130eb..8b6c065 100644
> >> --- a/include/configs/ti_omap4_common.h
> >> +++ b/include/configs/ti_omap4_common.h
> >> @@ -82,6 +82,32 @@
> >>  /*
> >>   * Environment setup
> >>   */
> >> +#define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \
> >> +       "bootcmd_" #devtypel #instance "=" \
> >> +       "setenv mmcdev " #instance"; "\
> >> +       "setenv bootpart " #instance":2 ; "\
> >> +       "run mmcboot\0"
> >> +
> >> +#define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \
> >> +       #devtypel #instance " "
> >> +
> >> +#define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
> >> +       #devtypel #instance " "
> >> +
> >> +#define BOOT_TARGET_DEVICES(func) \
> >> +       func(MMC, mmc, 0) \
> >> +       func(LEGACY_MMC, legacy_mmc, 0) \
> >> +       func(MMC, mmc, 1) \
> >> +       func(LEGACY_MMC, legacy_mmc, 1) \
> >
> > I don't remember the panda having a 2nd mmc card slot, are there other
> > omap4's with this feature?
> 
> ahh the omap4-sdp did, since this is ti_omap4_common.h that's fine..

Even better, we'll pretend I did it right to start with :)

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151211/a2bf86b4/attachment.sig>


More information about the U-Boot mailing list