From 240182d59aabe2a7ee5a728b9ae59024951e3e24 Mon Sep 17 00:00:00 2001 From: Sonic Zhang Date: Tue, 12 Aug 2014 18:45:26 +0800 Subject: bfin: make the CPU macro of LDR target more genenric Remove BFIN from the CPU macro in Makefile. Signed-off-by: Sonic Zhang --- Makefile | 2 +- arch/blackfin/include/asm/config.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9c8a580131..9d38ad2392 100644 --- a/Makefile +++ b/Makefile @@ -827,7 +827,7 @@ u-boot.bin: u-boot FORCE u-boot.ldr: u-boot $(CREATE_LDR_ENV) - $(LDR) -T $(CONFIG_BFIN_CPU) -c $@ $< $(LDR_FLAGS) + $(LDR) -T $(CONFIG_CPU) -c $@ $< $(LDR_FLAGS) $(BOARD_SIZE_CHECK) OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex diff --git a/arch/blackfin/include/asm/config.h b/arch/blackfin/include/asm/config.h index 836658a1c4..73cbfa2cc8 100644 --- a/arch/blackfin/include/asm/config.h +++ b/arch/blackfin/include/asm/config.h @@ -178,4 +178,6 @@ #define CONFIG_DISPLAY_CPUINFO #define CONFIG_ARCH_MISC_INIT +#define CONFIG_CPU CONFIG_BFIN_CPU + #endif -- cgit v1.2.1 From 6721bb5ad8744cae647cad9e917df649524ac54d Mon Sep 17 00:00:00 2001 From: Sonic Zhang Date: Fri, 15 Aug 2014 17:08:50 +0800 Subject: bfin: the max bfin sdh block count is 127 Signed-off-by: Sonic Zhang --- include/configs/bfin_adi_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index ea9acf69d1..07ec5f2bd8 100644 --- a/include/configs/bfin_adi_common.h +++ b/include/configs/bfin_adi_common.h @@ -39,6 +39,7 @@ # define CONFIG_CMD_FAT # define CONFIG_CMD_MMC # define CONFIG_DOS_PARTITION +# define CONFIG_SYS_MMC_MAX_BLK_COUNT 127 # endif # ifdef CONFIG_MMC_SPI # define CONFIG_CMD_MMC_SPI -- cgit v1.2.1