From f9d67436ce5814ea4e394317ddeaf1dbecb1c36b Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 8 Jun 2020 23:50:30 +0100 Subject: rockchip: Pinebook Pro: Fix SPI flash and store env on it Some minor fixes for SPI flash on the Pinebook Pro and also default to saving environment to the SPI flash as it's guaranteed to be on board. Signed-off-by: Peter Robinson Reviewed-by: Kever Yang (applied with make savedefconfig) Signed-off-by: Kever Yang --- include/configs/pinebook-pro-rk3399.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include/configs/pinebook-pro-rk3399.h') diff --git a/include/configs/pinebook-pro-rk3399.h b/include/configs/pinebook-pro-rk3399.h index d910830582..d478b19917 100644 --- a/include/configs/pinebook-pro-rk3399.h +++ b/include/configs/pinebook-pro-rk3399.h @@ -14,15 +14,6 @@ #include -#if defined(CONFIG_ENV_IS_IN_MMC) -#define CONFIG_SYS_MMC_ENV_DEV 0 -#elif defined(CONFIG_ENV_IS_IN_SPI_FLASH) -#define CONFIG_ENV_SECT_SIZE (8 * 1024) -#endif - -#undef CONFIG_SYS_SPI_U_BOOT_OFFS -#define CONFIG_SYS_SPI_U_BOOT_OFFS 1024 * 512 - #define SDRAM_BANK_SIZE (2UL << 30) #define CONFIG_USB_OHCI_NEW -- cgit