From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Tue, 8 Mar 2016 18:58:04 +0530 Subject: [U-Boot] [PATCH 2/6] arm: am57xx: Enable Fastboot In-Reply-To: <1457437348-31327-3-git-send-email-semen.protsenko@linaro.org> References: <1457437348-31327-1-git-send-email-semen.protsenko@linaro.org> <1457437348-31327-3-git-send-email-semen.protsenko@linaro.org> Message-ID: <56DED364.5030809@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 08 March 2016 05:12 PM, Semen Protsenko wrote: > From: Sam Protsenko > > Enable fastboot by default for AM57XX EVM. > > This is based on following patch modified accordingly: > http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=b2e04f92b5d91c708b6fd6b79d2266966ac51f4b Also mention that you are guarding for non SPL Other than that: Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > > Signed-off-by: Sam Protsenko > --- > include/configs/am57xx_evm.h | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h > index 9191d61..9a740d4 100644 > --- a/include/configs/am57xx_evm.h > +++ b/include/configs/am57xx_evm.h > @@ -36,11 +36,22 @@ > > #define CONFIG_SYS_OMAP_ABE_SYSCK > > +#ifndef CONFIG_SPL_BUILD > /* Define the default GPT table for eMMC */ > #define PARTS_DEFAULT \ > "uuid_disk=${uuid_gpt_disk};" \ > "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}" > > +/* Fastboot */ > +#define CONFIG_USB_FUNCTION_FASTBOOT > +#define CONFIG_CMD_FASTBOOT > +#define CONFIG_ANDROID_BOOT_IMAGE > +#define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR > +#define CONFIG_FASTBOOT_BUF_SIZE 0x2F000000 > +#define CONFIG_FASTBOOT_FLASH > +#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1 > +#endif > + > #include > > /* Enhance our eMMC support / experience. */ >