Blackfin updates for post 2009.06
cover Blackfin updates for post 2009.06
Here's the Blackfin queue for the release after 2009.06. Pretty much all just new board ports that have been cleaned up over time and should be ready to go now. Some of these have been posted before in some incarnation or another and afaik, all previous feedback should be integrated.
Hoan Hoang (1):
Blackfin: ibf-dsp561: new board port
Mike Frysinger (16):
Blackfin: add support for embedding the environment into LDRs
Blackfin: new spibootldr command
Blackfin: cm-bf533: new board port
Blackfin: cm-bf537e: new board port
Blackfin: cm-bf561: new board port
Blackfin: tcm-bf537: new board port
Blackfin: cm-bf548: new board port
Blackfin: cm-bf527: new board port
Blackfin: bf537-pnav: new board port
Blackfin: bf537-minotaur: new board port
Blackfin: bf537-srv1: new board port
Blackfin: blackstamp: new board port
Blackfin: make default ADI env more flexible
Blackfin: enable LZMA for all ADI boards
Blackfin: convert specific pre/post config headers to common method
Blackfin: bf518f-ezbrd: enable SST SPI flash driver
MAINTAINERS | 27 ++ MAKEALL | 11 + Makefile | 15 +- blackfin_config.mk | 7 + board/bf537-minotaur/.gitignore | 1 + board/bf537-minotaur/Makefile | 57 ++++ board/bf537-minotaur/bf537-minotaur.c | 56 ++++ board/bf537-minotaur/config.mk | 33 +++ board/bf537-minotaur/u-boot.lds.S | 143 ++++++++++ board/bf537-pnav/.gitignore | 1 + board/bf537-pnav/Makefile | 57 ++++ board/bf537-pnav/bf537-pnav.c | 56 ++++ board/bf537-pnav/config.mk | 32 +++ board/bf537-pnav/u-boot.lds.S | 143 ++++++++++ board/bf537-srv1/.gitignore | 1 + board/bf537-srv1/Makefile | 57 ++++ board/bf537-srv1/bf537-srv1.c | 56 ++++ board/bf537-srv1/config.mk | 33 +++ board/bf537-srv1/u-boot.lds.S | 143 ++++++++++ board/blackstamp/.gitignore | 1 + board/blackstamp/Makefile | 57 ++++ board/blackstamp/blackstamp.c | 46 +++ board/blackstamp/config.mk | 32 +++ board/blackstamp/u-boot.lds.S | 143 ++++++++++ board/cm-bf527/.gitignore | 1 + board/cm-bf527/Makefile | 57 ++++ board/cm-bf527/cm-bf527.c | 79 ++++++ board/cm-bf527/config.mk | 32 +++ board/cm-bf527/gpio.c | 74 +++++ board/cm-bf527/gpio_cfi_flash.c | 63 +++++ board/cm-bf527/gpio_cfi_flash.h | 10 + board/cm-bf527/u-boot.lds.S | 124 +++++++++ board/cm-bf533/.gitignore | 1 + board/cm-bf533/Makefile | 57 ++++ board/cm-bf533/cm-bf533.c | 25 ++ board/cm-bf533/config.mk | 33 +++ board/cm-bf533/u-boot.lds.S | 143 ++++++++++ board/cm-bf537e/.gitignore | 1 + board/cm-bf537e/Makefile | 57 ++++ board/cm-bf537e/cm-bf537e.c | 59 ++++ board/cm-bf537e/config.mk | 33 +++ board/cm-bf537e/flash.c | 34 +++ board/cm-bf537e/gpio_cfi_flash.c | 60 ++++ board/cm-bf537e/gpio_cfi_flash.h | 10 + board/cm-bf537e/u-boot.lds.S | 143 ++++++++++ board/cm-bf548/.gitignore | 1 + board/cm-bf548/Makefile | 58 ++++ board/cm-bf548/cm-bf548.c | 79 ++++++ board/cm-bf548/config.mk | 36 +++ board/cm-bf548/u-boot.lds.S | 124 +++++++++ board/cm-bf548/video.c | 339 +++++++++++++++++++++++ board/cm-bf561/.gitignore | 1 + board/cm-bf561/Makefile | 57 ++++ board/cm-bf561/cm-bf561.c | 25 ++ board/cm-bf561/config.mk | 33 +++ board/cm-bf561/u-boot.lds.S | 150 ++++++++++ board/ibf-dsp561/.gitignore | 1 + board/ibf-dsp561/Makefile | 57 ++++ board/ibf-dsp561/config.mk | 33 +++ board/ibf-dsp561/ibf-dsp561.c | 25 ++ board/ibf-dsp561/u-boot.lds.S | 152 ++++++++++ board/tcm-bf537/.gitignore | 1 + board/tcm-bf537/Makefile | 57 ++++ board/tcm-bf537/config.mk | 33 +++ board/tcm-bf537/flash.c | 37 +++ board/tcm-bf537/gpio_cfi_flash.c | 62 ++++ board/tcm-bf537/gpio_cfi_flash.h | 10 + board/tcm-bf537/tcm-bf537.c | 59 ++++ board/tcm-bf537/u-boot.lds.S | 143 ++++++++++ common/Makefile | 1 + common/cmd_spibootldr.c | 36 +++ include/asm-blackfin/blackfin-config-post.h | 149 ---------- include/asm-blackfin/blackfin-config-pre.h | 74 ----- include/asm-blackfin/config-pre.h | 74 +++++ include/asm-blackfin/config.h | 159 ++++++++++-- include/asm-blackfin/mach-common/bits/bootrom.h | 27 ++ include/configs/bf518f-ezbrd.h | 5 +- include/configs/bf526-ezbrd.h | 4 +- include/configs/bf527-ezkit.h | 4 +- include/configs/bf533-ezkit.h | 4 +- include/configs/bf533-stamp.h | 4 +- include/configs/bf537-minotaur.h | 201 ++++++++++++++ include/configs/bf537-pnav.h | 170 ++++++++++++ include/configs/bf537-srv1.h | 201 ++++++++++++++ include/configs/bf537-stamp.h | 4 +- include/configs/bf538f-ezkit.h | 4 +- include/configs/bf548-ezkit.h | 4 +- include/configs/bf561-ezkit.h | 6 +- include/configs/bfin_adi_common.h | 36 ++- include/configs/blackstamp.h | 273 ++++++++++++++++++ include/configs/cm-bf527.h | 135 +++++++++ include/configs/cm-bf533.h | 102 +++++++ include/configs/cm-bf537e.h | 122 ++++++++ include/configs/cm-bf548.h | 139 +++++++++ include/configs/cm-bf561.h | 102 +++++++ include/configs/ibf-dsp561.h | 128 +++++++++ include/configs/tcm-bf537.h | 124 +++++++++ 97 files changed, 5895 insertions(+), 274 deletions(-) create mode 100644 board/bf537-minotaur/.gitignore create mode 100644 board/bf537-minotaur/Makefile create mode 100644 board/bf537-minotaur/bf537-minotaur.c create mode 100644 board/bf537-minotaur/config.mk create mode 100644 board/bf537-minotaur/u-boot.lds.S create mode 100644 board/bf537-pnav/.gitignore create mode 100644 board/bf537-pnav/Makefile create mode 100644 board/bf537-pnav/bf537-pnav.c create mode 100644 board/bf537-pnav/config.mk create mode 100644 board/bf537-pnav/u-boot.lds.S create mode 100644 board/bf537-srv1/.gitignore create mode 100644 board/bf537-srv1/Makefile create mode 100644 board/bf537-srv1/bf537-srv1.c create mode 100644 board/bf537-srv1/config.mk create mode 100644 board/bf537-srv1/u-boot.lds.S create mode 100644 board/blackstamp/.gitignore create mode 100644 board/blackstamp/Makefile create mode 100644 board/blackstamp/blackstamp.c create mode 100644 board/blackstamp/config.mk create mode 100644 board/blackstamp/u-boot.lds.S create mode 100644 board/cm-bf527/.gitignore create mode 100644 board/cm-bf527/Makefile create mode 100644 board/cm-bf527/cm-bf527.c create mode 100644 board/cm-bf527/config.mk create mode 100644 board/cm-bf527/gpio.c create mode 100644 board/cm-bf527/gpio_cfi_flash.c create mode 100644 board/cm-bf527/gpio_cfi_flash.h create mode 100644 board/cm-bf527/u-boot.lds.S create mode 100644 board/cm-bf533/.gitignore create mode 100644 board/cm-bf533/Makefile create mode 100644 board/cm-bf533/cm-bf533.c create mode 100644 board/cm-bf533/config.mk create mode 100644 board/cm-bf533/u-boot.lds.S create mode 100644 board/cm-bf537e/.gitignore create mode 100644 board/cm-bf537e/Makefile create mode 100644 board/cm-bf537e/cm-bf537e.c create mode 100644 board/cm-bf537e/config.mk create mode 100644 board/cm-bf537e/flash.c create mode 100644 board/cm-bf537e/gpio_cfi_flash.c create mode 100644 board/cm-bf537e/gpio_cfi_flash.h create mode 100644 board/cm-bf537e/u-boot.lds.S create mode 100644 board/cm-bf548/.gitignore create mode 100644 board/cm-bf548/Makefile create mode 100644 board/cm-bf548/cm-bf548.c create mode 100644 board/cm-bf548/config.mk create mode 100644 board/cm-bf548/u-boot.lds.S create mode 100644 board/cm-bf548/video.c create mode 100644 board/cm-bf561/.gitignore create mode 100644 board/cm-bf561/Makefile create mode 100644 board/cm-bf561/cm-bf561.c create mode 100644 board/cm-bf561/config.mk create mode 100644 board/cm-bf561/u-boot.lds.S create mode 100644 board/ibf-dsp561/.gitignore create mode 100644 board/ibf-dsp561/Makefile create mode 100644 board/ibf-dsp561/config.mk create mode 100644 board/ibf-dsp561/ibf-dsp561.c create mode 100644 board/ibf-dsp561/u-boot.lds.S create mode 100644 board/tcm-bf537/.gitignore create mode 100644 board/tcm-bf537/Makefile create mode 100644 board/tcm-bf537/config.mk create mode 100644 board/tcm-bf537/flash.c create mode 100644 board/tcm-bf537/gpio_cfi_flash.c create mode 100644 board/tcm-bf537/gpio_cfi_flash.h create mode 100644 board/tcm-bf537/tcm-bf537.c create mode 100644 board/tcm-bf537/u-boot.lds.S create mode 100644 common/cmd_spibootldr.c delete mode 100644 include/asm-blackfin/blackfin-config-post.h delete mode 100644 include/asm-blackfin/blackfin-config-pre.h create mode 100644 include/asm-blackfin/config-pre.h create mode 100644 include/configs/bf537-minotaur.h create mode 100644 include/configs/bf537-pnav.h create mode 100644 include/configs/bf537-srv1.h create mode 100644 include/configs/blackstamp.h create mode 100644 include/configs/cm-bf527.h create mode 100644 include/configs/cm-bf533.h create mode 100644 include/configs/cm-bf537e.h create mode 100644 include/configs/cm-bf548.h create mode 100644 include/configs/cm-bf561.h create mode 100644 include/configs/ibf-dsp561.h create mode 100644 include/configs/tcm-bf537.h
PATCH 1/17 Blackfin: add support for embedding the environment into LDRs
--- Makefile | 1 + blackfin_config.mk | 7 +++++++ 2 files changed, 8 insertions(+), 0 deletions(-)
Makefile +1 -0
@@ -323,6 +323,7 @@ $(obj)u-boot.bin: $(obj)u-boot $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ $(obj)u-boot.ldr: $(obj)u-boot + $(obj)tools/envcrc --binary > $(obj)env-ldr.o $(LDR) -T $(CONFIG_BFIN_CPU) -c $@ $< $(LDR_FLAGS) $(obj)u-boot.ldr.hex: $(obj)u-boot.ldr
blackfin_config.mk +7 -0
@@ -23,6 +23,8 @@ CONFIG_BFIN_CPU := $(strip $(subst ",,$(CONFIG_BFIN_CPU))) CONFIG_BFIN_BOOT_MODE := $(strip $(subst ",,$(CONFIG_BFIN_BOOT_MODE))) +CONFIG_ENV_OFFSET := $(strip $(subst ",,$(CONFIG_ENV_OFFSET))) +CONFIG_ENV_SIZE := $(strip $(subst ",,$(CONFIG_ENV_SIZE))) PLATFORM_RELFLAGS += -ffixed-P5 -fomit-frame-pointer -mno-fdpic PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN
@@ -43,6 +45,11 @@ LDR_FLAGS += --bmode $(subst BFIN_BOOT_,,$(CONFIG_BFIN_BOOT_MODE)) LDR_FLAGS += --use-vmas ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS) LDR_FLAGS += --initcode $(obj)cpu/$(CPU)/initcode.o +ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_UART) +ifneq ($(ENV_IS_EMBEDDED_CUSTOM),ENV_IS_EMBEDDED_CUSTOM) +LDR_FLAGS += --punchit $$(($(CONFIG_ENV_OFFSET))):$$(($(CONFIG_ENV_SIZE))):$(obj)env-ldr.o +endif +endif endif ifneq (,$(findstring s,$(MAKEFLAGS))) LDR_FLAGS += --quiet
Signature · 1 line
1.6.3.1
PATCH 1/17 Blackfin: add support for embedding the environment into LDRs
Dear Mike Frysinger,
Quoted 1 line · In message <[email protected]> you wrote:
Signed-off-by Mike Frysinger <[email protected]>
"LDR" might be a term that is familiar to you, but it is not familiar to me and porobaly not to many other (non-BF) users. Please chose a
Subject: that everybody can understand.
:
Quoted 30 lines
Makefile | 1 + blackfin_config.mk | 7 +++++++ 2 files changed, 8 insertions(+), 0 deletions(-)Makefile +1
-0@@ -323,6 +323,7 @@ $(obj)u-boot.bin: $(obj)u-boot $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ $(obj)u-boot.ldr: $(obj)u-boot + $(obj)tools/envcrc --binary > $(obj)env-ldr.o $(LDR) -T $(CONFIG_BFIN_CPU) -c $@ $< $(LDR_FLAGS) $(obj)u-boot.ldr.hex: $(obj)u-boot.ldrblackfin_config.mk +2
-0@@ -23,6 +23,8 @@ CONFIG_BFIN_CPU := $(strip $(subst ",,$(CONFIG_BFIN_CPU))) CONFIG_BFIN_BOOT_MODE := $(strip $(subst ",,$(CONFIG_BFIN_BOOT_MODE))) +CONFIG_ENV_OFFSET := $(strip $(subst ",,$(CONFIG_ENV_OFFSET))) +CONFIG_ENV_SIZE := $(strip $(subst ",,$(CONFIG_ENV_SIZE))) PLATFORM_RELFLAGS += -ffixed-P5 -fomit-frame-pointer -mno-fdpic PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN
blackfin_config.mk LDR_FLAGS += --bmode $(subst BFIN_BOOT_,,$(CONFIG_BFIN_BOOT_MODE)) · line 50
Quoted 6 lines
blackfin_config.mk +3
-0@@ -43,6 +45,11 @@ LDR_FLAGS += --bmode $(subst BFIN_BOOT_,,$(CONFIG_BFIN_BOOT_MODE)) LDR_FLAGS += --use-vmas ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS) LDR_FLAGS += --initcode $(obj)cpu/$(CPU)/initcode.o +ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_UART) +ifneq ($(ENV_IS_EMBEDDED_CUSTOM),ENV_IS_EMBEDDED_CUSTOM) +LDR_FLAGS += --punchit $$(($(CONFIG_ENV_OFFSET))):$$(($(CONFIG_ENV_SIZE))):$(obj)env-ldr.o
This line is very long; I guess it makes not much sense to wrap it, though?
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de You can't evaluate a man by logic alone. -- McCoy, "I, Mudd", stardate 4513.3
PATCH 1/17 Blackfin: add support for embedding the environment into LDRs
Quoted 6 lines · On Sunday 14 June 2009 06:51:11 Wolfgang Denk wrote:
Quoted 1 line · Mike Frysinger
Signed-off-by Mike Frysinger <[email protected]>"LDR" might be a term that is familiar to you, but it is not familiar to me and porobaly not to many other (non-BF) users. Please chose a
Subject: that everybody can understand.
well, just about every Blackfin user knows what LDRs are because they have to use them most of the time. i'll update it to read loader files (LDRs).
Quoted 5 lines
Quoted 2 lines
+LDR_FLAGS += --punchit $$(($(CONFIG_ENV_OFFSET))):$$(($(CONFIG_ENV_SIZE))):$(obj)env-ldr.o
This line is very long; I guess it makes not much sense to wrap it, though?
yeah, the option has to be one argument with no whitespace. wrapping it would prevent indentation and that'd be worse imo.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090614/feaf5445/attachment.pgp
PATCH 2/17 Blackfin: new spibootldr command
In reply to Mike FrysingerNewer Blackfin parts can an on-chip ROM that can boot LDRs over SPI flashes, so add a new 'spibootldr' command to take advantage of it.
--- common/Makefile | 1 + common/cmd_spibootldr.c | 36 +++++++++++++++++++++++ include/asm-blackfin/mach-common/bits/bootrom.h | 27 +++++++++++++++++ include/configs/bfin_adi_common.h | 1 + 4 files changed, 65 insertions(+), 0 deletions(-) create mode 100644 common/cmd_spibootldr.c
common/Makefile +1 -0
@@ -133,6 +133,7 @@ COBJS-$(CONFIG_CMD_SF) += cmd_sf.o COBJS-$(CONFIG_CMD_SCSI) += cmd_scsi.o COBJS-$(CONFIG_CMD_SETEXPR) += cmd_setexpr.o COBJS-$(CONFIG_CMD_SPI) += cmd_spi.o +COBJS-$(CONFIG_CMD_SPIBOOTLDR) += cmd_spibootldr.o COBJS-$(CONFIG_CMD_STRINGS) += cmd_strings.o COBJS-$(CONFIG_CMD_TERMINAL) += cmd_terminal.o COBJS-$(CONFIG_CMD_UBI) += cmd_ubi.o
common/cmd_spibootldr.c new file +36 -0
@@ -0,0 +1,36 @@ +/* +* U-boot - spibootldr.c +* +* Copyright (c) 2005-2008 Analog Devices Inc. +* +* See file CREDITS for list of people who contributed to this +* project. +* +* Licensed under the GPL-2 or later. +*/ + +#include <common.h> +#include <command.h> + +#include <asm/blackfin.h> +#include <asm/mach-common/bits/bootrom.h> + +int do_spibootldr (cmd_tbl_t *cmdtp,int flag,int argc,char *argv[]) +{ +s32 addr; + +/* Get the address */ +if (argc <2 ) + addr =0 ; +else + addr =simple_strtoul (argv[1 ],NULL ,16 ); + +printf ("## Booting ldr image at SPI offset 0x%x ...\n" , addr); + +return bfrom_SpiBoot (addr,BFLAG_PERIPHERAL |4 ,0 ,NULL ); +} + +U_BOOT_CMD (spibootldr,2 ,0 , do_spibootldr, +"boot ldr image from spi" , +"[offset]\n" +" - boot ldr image stored@offset into spi\n" );
include/asm-blackfin/mach-common/bits/bootrom.h +27 -0
@@ -200,6 +200,33 @@ typedef struct ADI_BOOT_DATA {int32_t dLogByteCount; } ADI_BOOT_DATA; +typedef void ADI_BOOT_HOOK_FUNC (ADI_BOOT_DATA *); + +#ifndef _BOOTROM_MEMBOOT +#define _BOOTROM_MEMBOOT 0 +#endif +static uint32_t (*const bfrom_MemBoot)(void *pBootStream,int32_t dFlags,int32_t dBlockCount,ADI_BOOT_HOOK_FUNC *pCallHook) = (void *)_BOOTROM_MEMBOOT; + +#ifndef _BOOTROM_TWIBOOT +#define _BOOTROM_TWIBOOT 0 +#endif +static uint32_t (*const bfrom_TwiBoot)(int32_t dTwiAddress,int32_t dFlags,int32_t dBlockCount,ADI_BOOT_HOOK_FUNC *pCallHook) = (void *)_BOOTROM_TWIBOOT; + +#ifndef _BOOTROM_SPIBOOT +#define _BOOTROM_SPIBOOT 0 +#endif +static uint32_t (*const bfrom_SpiBoot)(int32_t dSpiAddress,int32_t dFlags,int32_t dBlockCount,ADI_BOOT_HOOK_FUNC *pCallHook) = (void *)_BOOTROM_SPIBOOT; + +#ifndef _BOOTROM_OTPBOOT +#define _BOOTROM_OTPBOOT 0 +#endif +static uint32_t (*const bfrom_OtpBoot)(int32_t dOtpAddress,int32_t dFlags,int32_t dBlockCount,ADI_BOOT_HOOK_FUNC *pCallHook) = (void *)_BOOTROM_OTPBOOT; + +#ifndef _BOOTROM_NANDBOOT +#define _BOOTROM_NANDBOOT 0 +#endif +static uint32_t (*const bfrom_NandBoot)(int32_t dNandAddress,int32_t dFlags,int32_t dBlockCount,ADI_BOOT_HOOK_FUNC *pCallHook) = (void *)_BOOTROM_NANDBOOT; +#endif /* __ASSEMBLY__ */ /* Bit defines for ADI_BOOT_DATA->dFlags */
include/configs/bfin_adi_common.h +1 -0
@@ -71,6 +71,7 @@# define CONFIG_CMD_STRINGS # if defined(__ADSPBF51x__) || defined(__ADSPBF52x__) || defined(__ADSPBF54x__)# define CONFIG_CMD_OTP +# define CONFIG_CMD_SPIBOOTLDR # endif #endif
Signature · 1 line
1.6.3.1
PATCH 3/17 Blackfin: cm-bf533: new board port
In reply to Mike Frysinger--- MAINTAINERS | 5 ++ MAKEALL | 1 + Makefile | 4 + board/cm-bf533/.gitignore | 1 + board/cm-bf533/Makefile | 57 +++++++++++++++++ board/cm-bf533/cm-bf533.c | 25 ++++++++ board/cm-bf533/config.mk | 33 ++++++++++ board/cm-bf533/u-boot.lds.S | 143 +++++++++++++++++++++++++++++++++++++++++++ include/configs/cm-bf533.h | 104 +++++++++++++++++++++++++++++++ 9 files changed, 373 insertions(+), 0 deletions(-) create mode 100644 board/cm-bf533/.gitignore create mode 100644 board/cm-bf533/Makefile create mode 100644 board/cm-bf533/cm-bf533.c create mode 100644 board/cm-bf533/config.mk create mode 100644 board/cm-bf533/u-boot.lds.S create mode 100644 include/configs/cm-bf533.h
MAINTAINERS +5 -0
@@ -871,6 +871,11 @@ Blackfin Team <[email protected]> BF548-EZKIT BF548 BF561-EZKIT BF561 +Bluetechnix Tinyboards <[email protected]> +Blackfin Team <[email protected]> + + CM-BF533 BF533 + ######################################################################### # End of MAINTAINERS list # #########################################################################
MAKEALL +1 -0
@@ -804,6 +804,7 @@ LIST_blackfin=" \ bf538f-ezkit \ bf548-ezkit \ bf561-ezkit \ + cm-bf533 \ " #########################################################################
Makefile +4 -0
@@ -3381,6 +3381,9 @@ suzaku_config: unconfig BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \ bf537-stamp bf538f-ezkit bf548-ezkit bf561-ezkit +# Bluetechnix tinyboards +BFIN_BOARDS += cm-bf533 + $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
@@ -3555,6 +3558,7 @@ clean: $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \ $(obj)board/bf5{18f,26,27,33,38f,48,61}-ez{brd,kit}/u-boot.lds \ $(obj)board/bf5{33,37}-stamp/u-boot.lds \ + $(obj)board/cm-bf533/u-boot.lds \ $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] @rm -f $(obj)include/bmp_logo.h @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map}
board/cm-bf533/.gitignore new file +1 -0
@@ -0,0 +1 @@ +/u-boot.lds
board/cm-bf533/Makefile new file +57 -0
57 lines not on this page · raw message
board/cm-bf533/cm-bf533.c new file +25 -0
@@ -0,0 +1,25 @@ +/* +* U-boot - main board file +* +* Copyright (c) 2005-2008 Analog Devices Inc. +* +* Licensed under the GPL-2 or later. +*/ + +#include <common.h> + +DECLARE_GLOBAL_DATA_PTR ; + +int checkboard (void ) +{ +printf ("Board: Bluetechnix CM-BF533 board\n" ); +printf (" Support: http://www.bluetechnix.at/\n" ); +return 0 ; +} + +phys_size_t initdram (int board_type) +{ + gd->bd->bi_memstart =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_memsize =CONFIG_SYS_MAX_RAM_SIZE ; +return gd->bd->bi_memsize; +}
board/cm-bf533/config.mk new file +33 -0
@@ -0,0 +1,33 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +LDSCRIPT = $(obj)board/$(BOARDDIR)/u-boot.lds + +# Set some default LDR flags based on boot mode. +LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
board/cm-bf533/u-boot.lds.S new file +143 -0
143 lines not on this page · raw message
include/configs/cm-bf533.h new file +104 -0
104 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 4/17 Blackfin: cm-bf537e: new board port
In reply to Mike Frysinger--- MAINTAINERS | 1 + MAKEALL | 1 + Makefile | 4 +- board/cm-bf537e/.gitignore | 1 + board/cm-bf537e/Makefile | 57 +++++++++++++++ board/cm-bf537e/cm-bf537e.c | 59 ++++++++++++++++ board/cm-bf537e/config.mk | 33 +++++++++ board/cm-bf537e/flash.c | 34 +++++++++ board/cm-bf537e/gpio_cfi_flash.c | 60 ++++++++++++++++ board/cm-bf537e/gpio_cfi_flash.h | 10 +++ board/cm-bf537e/u-boot.lds.S | 143 ++++++++++++++++++++++++++++++++++++++ include/configs/cm-bf537e.h | 124 +++++++++++++++++++++++++++++++++ 12 files changed, 525 insertions(+), 2 deletions(-) create mode 100644 board/cm-bf537e/.gitignore create mode 100644 board/cm-bf537e/Makefile create mode 100644 board/cm-bf537e/cm-bf537e.c create mode 100644 board/cm-bf537e/config.mk create mode 100644 board/cm-bf537e/flash.c create mode 100644 board/cm-bf537e/gpio_cfi_flash.c create mode 100644 board/cm-bf537e/gpio_cfi_flash.h create mode 100644 board/cm-bf537e/u-boot.lds.S create mode 100644 include/configs/cm-bf537e.h
MAINTAINERS +1 -0
@@ -875,6 +875,7 @@ Bluetechnix Tinyboards <[email protected]> Blackfin Team <[email protected]> CM-BF533 BF533 + CM-BF537E BF537 ######################################################################### # End of MAINTAINERS list #
MAKEALL +1 -0
@@ -805,6 +805,7 @@ LIST_blackfin=" \ bf548-ezkit \ bf561-ezkit \ cm-bf533 \ + cm-bf537e \ " #########################################################################
Makefile +2 -2
@@ -3382,7 +3382,7 @@ BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \ bf537-stamp bf538f-ezkit bf548-ezkit bf561-ezkit # Bluetechnix tinyboards -BFIN_BOARDS += cm-bf533 +BFIN_BOARDS += cm-bf533 cm-bf537e $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
@@ -3558,7 +3558,7 @@ clean: $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \ $(obj)board/bf5{18f,26,27,33,38f,48,61}-ez{brd,kit}/u-boot.lds \ $(obj)board/bf5{33,37}-stamp/u-boot.lds \ - $(obj)board/cm-bf533/u-boot.lds \ + $(obj)board/cm-bf5{33,37e}/u-boot.lds \ $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] @rm -f $(obj)include/bmp_logo.h @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map}
board/cm-bf537e/.gitignore new file +1 -0
@@ -0,0 +1 @@ +/u-boot.lds
board/cm-bf537e/Makefile new file +57 -0
57 lines not on this page · raw message
board/cm-bf537e/cm-bf537e.c new file +59 -0
59 lines not on this page · raw message
board/cm-bf537e/config.mk new file +33 -0
@@ -0,0 +1,33 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +LDSCRIPT = $(obj)board/$(BOARDDIR)/u-boot.lds + +# Set some default LDR flags based on boot mode. +LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
board/cm-bf537e/flash.c new file +34 -0
@@ -0,0 +1,34 @@ +/* +* flash.c - helper commands for working with GPIO-assisted flash +* +* Copyright (c) 2005-2009 Analog Devices Inc. +* +* Licensed under the GPL-2 or later. +*/ + +#include <common.h> +#include <command.h> +#include <asm/blackfin.h> +#include "gpio_cfi_flash.h" + +int do_pf (cmd_tbl_t *cmdtp,int flag,int argc,char *argv[]) +{ +ulong faddr =CONFIG_SYS_FLASH_BASE ; +ushort data; +ulong dflg; + +if (argc >1 ) { + dflg =simple_strtoul (argv[1 ],NULL ,16 ); + faddr |= (dflg <<21 ); +gpio_cfi_flash_swizzle ((void *)faddr); + }else { + data =bfin_read_PORTFIO (); +printf ("Port F data %04x (PF4:%i)\n" , data, !!(data &PF4 )); + } + +return 0 ; +} + +U_BOOT_CMD (pf,3 ,0 , do_pf, +"set/clear PF4 GPIO flash bank switch\n" , +"<pf4> - set PF4 GPIO pin state\n" );
board/cm-bf537e/gpio_cfi_flash.c new file +60 -0
60 lines not on this page · raw message
board/cm-bf537e/gpio_cfi_flash.h new file +10 -0
@@ -0,0 +1,10 @@ +/* +* gpio_cfi_flash.c - GPIO-assisted Flash Chip Support +* +* Copyright (c) 2009 Analog Devices Inc. +* +* Licensed under the GPL-2 or later. +*/ + +void *gpio_cfi_flash_swizzle (void *vaddr); +void gpio_cfi_flash_init (void );
board/cm-bf537e/u-boot.lds.S new file +143 -0
143 lines not on this page · raw message
include/configs/cm-bf537e.h new file +124 -0
124 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 5/17 Blackfin: cm-bf561: new board port
In reply to Mike Frysinger--- MAINTAINERS | 1 + MAKEALL | 1 + Makefile | 4 +- board/cm-bf561/.gitignore | 1 + board/cm-bf561/Makefile | 57 ++++++++++++++++ board/cm-bf561/cm-bf561.c | 25 +++++++ board/cm-bf561/config.mk | 33 ++++++++++ board/cm-bf561/u-boot.lds.S | 150 +++++++++++++++++++++++++++++++++++++++++++ include/configs/cm-bf561.h | 104 ++++++++++++++++++++++++++++++ 9 files changed, 374 insertions(+), 2 deletions(-) create mode 100644 board/cm-bf561/.gitignore create mode 100644 board/cm-bf561/Makefile create mode 100644 board/cm-bf561/cm-bf561.c create mode 100644 board/cm-bf561/config.mk create mode 100644 board/cm-bf561/u-boot.lds.S create mode 100644 include/configs/cm-bf561.h
MAINTAINERS +1 -0
@@ -876,6 +876,7 @@ Blackfin Team <[email protected]> CM-BF533 BF533 CM-BF537E BF537 + CM-BF561 BF561 ######################################################################### # End of MAINTAINERS list #
MAKEALL +1 -0
@@ -806,6 +806,7 @@ LIST_blackfin=" \ bf561-ezkit \ cm-bf533 \ cm-bf537e \ + cm-bf561 \ " #########################################################################
Makefile +2 -2
@@ -3382,7 +3382,7 @@ BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \ bf537-stamp bf538f-ezkit bf548-ezkit bf561-ezkit # Bluetechnix tinyboards -BFIN_BOARDS += cm-bf533 cm-bf537e +BFIN_BOARDS += cm-bf533 cm-bf537e cm-bf561 $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
@@ -3558,7 +3558,7 @@ clean: $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \ $(obj)board/bf5{18f,26,27,33,38f,48,61}-ez{brd,kit}/u-boot.lds \ $(obj)board/bf5{33,37}-stamp/u-boot.lds \ - $(obj)board/cm-bf5{33,37e}/u-boot.lds \ + $(obj)board/cm-bf5{33,37e,61}/u-boot.lds \ $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] @rm -f $(obj)include/bmp_logo.h @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map}
board/cm-bf561/.gitignore new file +1 -0
@@ -0,0 +1 @@ +/u-boot.lds
board/cm-bf561/Makefile new file +57 -0
57 lines not on this page · raw message
board/cm-bf561/cm-bf561.c new file +25 -0
@@ -0,0 +1,25 @@ +/* +* U-boot - main board file +* +* Copyright (c) 2005-2008 Analog Devices Inc. +* +* Licensed under the GPL-2 or later. +*/ + +#include <common.h> + +DECLARE_GLOBAL_DATA_PTR ; + +int checkboard (void ) +{ +printf ("Board: Bluetechnix CM-BF561 core module\n" ); +printf (" Support: http://www.bluetechnix.at/\n" ); +return 0 ; +} + +phys_size_t initdram (int board_type) +{ + gd->bd->bi_memstart =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_memsize =CONFIG_SYS_MAX_RAM_SIZE ; +return gd->bd->bi_memsize; +}
board/cm-bf561/config.mk new file +33 -0
@@ -0,0 +1,33 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +LDSCRIPT = $(obj)board/$(BOARDDIR)/u-boot.lds + +# Set some default LDR flags based on boot mode. +LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
board/cm-bf561/u-boot.lds.S new file +150 -0
150 lines not on this page · raw message
include/configs/cm-bf561.h new file +104 -0
104 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 6/17 Blackfin: tcm-bf537: new board port
In reply to Mike Frysinger--- MAINTAINERS | 1 + MAKEALL | 1 + Makefile | 4 +- board/tcm-bf537/.gitignore | 1 + board/tcm-bf537/Makefile | 57 +++++++++++++++ board/tcm-bf537/config.mk | 33 +++++++++ board/tcm-bf537/flash.c | 37 ++++++++++ board/tcm-bf537/gpio_cfi_flash.c | 62 ++++++++++++++++ board/tcm-bf537/gpio_cfi_flash.h | 10 +++ board/tcm-bf537/tcm-bf537.c | 59 ++++++++++++++++ board/tcm-bf537/u-boot.lds.S | 143 ++++++++++++++++++++++++++++++++++++++ include/configs/tcm-bf537.h | 125 +++++++++++++++++++++++++++++++++ 12 files changed, 531 insertions(+), 2 deletions(-) create mode 100644 board/tcm-bf537/.gitignore create mode 100644 board/tcm-bf537/Makefile create mode 100644 board/tcm-bf537/config.mk create mode 100644 board/tcm-bf537/flash.c create mode 100644 board/tcm-bf537/gpio_cfi_flash.c create mode 100644 board/tcm-bf537/gpio_cfi_flash.h create mode 100644 board/tcm-bf537/tcm-bf537.c create mode 100644 board/tcm-bf537/u-boot.lds.S create mode 100644 include/configs/tcm-bf537.h
MAINTAINERS +1 -0
@@ -877,6 +877,7 @@ Blackfin Team <[email protected]> CM-BF533 BF533 CM-BF537E BF537 CM-BF561 BF561 + TCM-BF537 BF537 ######################################################################### # End of MAINTAINERS list #
MAKEALL +1 -0
@@ -807,6 +807,7 @@ LIST_blackfin=" \ cm-bf533 \ cm-bf537e \ cm-bf561 \ + tcm-bf537 \ " #########################################################################
Makefile +2 -2
@@ -3382,7 +3382,7 @@ BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \ bf537-stamp bf538f-ezkit bf548-ezkit bf561-ezkit # Bluetechnix tinyboards -BFIN_BOARDS += cm-bf533 cm-bf537e cm-bf561 +BFIN_BOARDS += cm-bf533 cm-bf537e cm-bf561 tcm-bf537 $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
@@ -3558,7 +3558,7 @@ clean: $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \ $(obj)board/bf5{18f,26,27,33,38f,48,61}-ez{brd,kit}/u-boot.lds \ $(obj)board/bf5{33,37}-stamp/u-boot.lds \ - $(obj)board/cm-bf5{33,37e,61}/u-boot.lds \ + $(obj)board/{,t}cm-bf5{33,37e,61}/u-boot.lds \ $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] @rm -f $(obj)include/bmp_logo.h @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map}
board/tcm-bf537/.gitignore new file +1 -0
@@ -0,0 +1 @@ +/u-boot.lds
board/tcm-bf537/Makefile new file +57 -0
57 lines not on this page · raw message
board/tcm-bf537/config.mk new file +33 -0
@@ -0,0 +1,33 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +LDSCRIPT = $(obj)board/$(BOARDDIR)/u-boot.lds + +# Set some default LDR flags based on boot mode. +LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
board/tcm-bf537/flash.c new file +37 -0
@@ -0,0 +1,37 @@ +/* +* flash.c - helper commands for working with GPIO-assisted flash +* +* Copyright (c) 2005-2009 Analog Devices Inc. +* +* Licensed under the GPL-2 or later. +*/ + +#include <common.h> +#include <command.h> +#include <asm/blackfin.h> +#include "gpio_cfi_flash.h" + +int do_pf (cmd_tbl_t *cmdtp,int flag,int argc,char *argv[]) +{ +ulong faddr =CONFIG_SYS_FLASH_BASE ; +ushort data; +ulong dflg; + +if (argc ==3 ) { + dflg =simple_strtoul (argv[1 ],NULL ,16 ); + faddr |= (dflg <<21 ); + dflg =simple_strtoul (argv[2 ],NULL ,16 ); + faddr |= (dflg <<22 ); +gpio_cfi_flash_swizzle ((void *)faddr); + }else { + data =bfin_read_PORTFIO (); +printf ("Port F data %04x (PF4:%i PF5:%i)\n" , data, + !!(data &PF4 ), !!(data &PF5 )); + } + +return 0 ; +} + +U_BOOT_CMD (pf,3 ,0 , do_pf, +"set/clear PF4/PF5 GPIO flash bank switch\n" , +"<pf4> <pf5> - set PF4/PF5 GPIO pin state\n" );
board/tcm-bf537/gpio_cfi_flash.c new file +62 -0
62 lines not on this page · raw message
board/tcm-bf537/gpio_cfi_flash.h new file +10 -0
@@ -0,0 +1,10 @@ +/* +* gpio_cfi_flash.c - GPIO-assisted Flash Chip Support +* +* Copyright (c) 2009 Analog Devices Inc. +* +* Licensed under the GPL-2 or later. +*/ + +void *gpio_cfi_flash_swizzle (void *vaddr); +void gpio_cfi_flash_init (void );
board/tcm-bf537/tcm-bf537.c new file +59 -0
59 lines not on this page · raw message
board/tcm-bf537/u-boot.lds.S new file +143 -0
143 lines not on this page · raw message
include/configs/tcm-bf537.h new file +125 -0
125 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 7/17 Blackfin: cm-bf548: new board port
In reply to Mike Frysinger--- MAINTAINERS | 1 + MAKEALL | 1 + Makefile | 4 +- board/cm-bf548/.gitignore | 1 + board/cm-bf548/Makefile | 58 ++++++++ board/cm-bf548/cm-bf548.c | 79 ++++++++++ board/cm-bf548/config.mk | 36 +++++ board/cm-bf548/u-boot.lds.S | 124 ++++++++++++++++ board/cm-bf548/video.c | 339 +++++++++++++++++++++++++++++++++++++++++++ include/configs/cm-bf548.h | 141 ++++++++++++++++++ 10 files changed, 782 insertions(+), 2 deletions(-) create mode 100644 board/cm-bf548/.gitignore create mode 100644 board/cm-bf548/Makefile create mode 100644 board/cm-bf548/cm-bf548.c create mode 100644 board/cm-bf548/config.mk create mode 100644 board/cm-bf548/u-boot.lds.S create mode 100644 board/cm-bf548/video.c create mode 100644 include/configs/cm-bf548.h
MAINTAINERS +1 -0
@@ -876,6 +876,7 @@ Blackfin Team <[email protected]> CM-BF533 BF533 CM-BF537E BF537 + CM-BF548 BF548 CM-BF561 BF561 TCM-BF537 BF537
MAKEALL +1 -0
@@ -806,6 +806,7 @@ LIST_blackfin=" \ bf561-ezkit \ cm-bf533 \ cm-bf537e \ + cm-bf548 \ cm-bf561 \ tcm-bf537 \ "
Makefile +2 -2
@@ -3382,7 +3382,7 @@ BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \ bf537-stamp bf538f-ezkit bf548-ezkit bf561-ezkit # Bluetechnix tinyboards -BFIN_BOARDS += cm-bf533 cm-bf537e cm-bf561 tcm-bf537 +BFIN_BOARDS += cm-bf533 cm-bf537e cm-bf548 cm-bf561 tcm-bf537 $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
@@ -3558,7 +3558,7 @@ clean: $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \ $(obj)board/bf5{18f,26,27,33,38f,48,61}-ez{brd,kit}/u-boot.lds \ $(obj)board/bf5{33,37}-stamp/u-boot.lds \ - $(obj)board/{,t}cm-bf5{33,37e,61}/u-boot.lds \ + $(obj)board/{,t}cm-bf5{33,37e,48,61}/u-boot.lds \ $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] @rm -f $(obj)include/bmp_logo.h @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map}
board/cm-bf548/.gitignore new file +1 -0
@@ -0,0 +1 @@ +/u-boot.lds
board/cm-bf548/Makefile new file +58 -0
58 lines not on this page · raw message
board/cm-bf548/cm-bf548.c new file +79 -0
79 lines not on this page · raw message
board/cm-bf548/config.mk new file +36 -0
@@ -0,0 +1,36 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +LDSCRIPT = $(obj)board/$(BOARDDIR)/u-boot.lds + +# Set some default LDR flags based on boot mode. +LDR_FLAGS-BFIN_BOOT_PARA := --dma 6 +LDR_FLAGS-BFIN_BOOT_FIFO := --dma 1 +LDR_FLAGS-BFIN_BOOT_SPI_MASTER := --dma 1 +LDR_FLAGS-BFIN_BOOT_UART := --dma 1 +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
board/cm-bf548/u-boot.lds.S new file +124 -0
124 lines not on this page · raw message
board/cm-bf548/video.c new file +339 -0
339 lines not on this page · raw message
include/configs/cm-bf548.h new file +141 -0
141 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 8/17 Blackfin: cm-bf527: new board port
In reply to Mike Frysinger--- MAINTAINERS | 1 + MAKEALL | 1 + Makefile | 4 +- board/cm-bf527/.gitignore | 1 + board/cm-bf527/Makefile | 57 ++++++++++++++++ board/cm-bf527/cm-bf527.c | 79 ++++++++++++++++++++++ board/cm-bf527/config.mk | 32 +++++++++ board/cm-bf527/gpio.c | 74 +++++++++++++++++++++ board/cm-bf527/gpio_cfi_flash.c | 63 ++++++++++++++++++ board/cm-bf527/gpio_cfi_flash.h | 10 +++ board/cm-bf527/u-boot.lds.S | 124 +++++++++++++++++++++++++++++++++++ include/configs/cm-bf527.h | 137 +++++++++++++++++++++++++++++++++++++++ 12 files changed, 581 insertions(+), 2 deletions(-) create mode 100644 board/cm-bf527/.gitignore create mode 100644 board/cm-bf527/Makefile create mode 100644 board/cm-bf527/cm-bf527.c create mode 100644 board/cm-bf527/config.mk create mode 100644 board/cm-bf527/gpio.c create mode 100644 board/cm-bf527/gpio_cfi_flash.c create mode 100644 board/cm-bf527/gpio_cfi_flash.h create mode 100644 board/cm-bf527/u-boot.lds.S create mode 100644 include/configs/cm-bf527.h
MAINTAINERS +1 -0
@@ -874,6 +874,7 @@ Blackfin Team <[email protected]> Bluetechnix Tinyboards <[email protected]> Blackfin Team <[email protected]> + CM-BF527 BF527 CM-BF533 BF533 CM-BF537E BF537 CM-BF548 BF548
MAKEALL +1 -0
@@ -804,6 +804,7 @@ LIST_blackfin=" \ bf538f-ezkit \ bf548-ezkit \ bf561-ezkit \ + cm-bf527 \ cm-bf533 \ cm-bf537e \ cm-bf548 \
Makefile +2 -2
@@ -3382,7 +3382,7 @@ BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \ bf537-stamp bf538f-ezkit bf548-ezkit bf561-ezkit # Bluetechnix tinyboards -BFIN_BOARDS += cm-bf533 cm-bf537e cm-bf548 cm-bf561 tcm-bf537 +BFIN_BOARDS += cm-bf527 cm-bf533 cm-bf537e cm-bf548 cm-bf561 tcm-bf537 $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
@@ -3558,7 +3558,7 @@ clean: $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \ $(obj)board/bf5{18f,26,27,33,38f,48,61}-ez{brd,kit}/u-boot.lds \ $(obj)board/bf5{33,37}-stamp/u-boot.lds \ - $(obj)board/{,t}cm-bf5{33,37e,48,61}/u-boot.lds \ + $(obj)board/{,t}cm-bf5{27,33,37e,48,61}/u-boot.lds \ $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] @rm -f $(obj)include/bmp_logo.h @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map}
board/cm-bf527/.gitignore new file +1 -0
@@ -0,0 +1 @@ +/u-boot.lds
board/cm-bf527/Makefile new file +57 -0
57 lines not on this page · raw message
board/cm-bf527/cm-bf527.c new file +79 -0
79 lines not on this page · raw message
board/cm-bf527/config.mk new file +32 -0
@@ -0,0 +1,32 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, [email protected]. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +LDSCRIPT = $(obj)board/$(BOARDDIR)/u-boot.lds + +# Set some default LDR flags based on boot mode. +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
board/cm-bf527/gpio.c new file +74 -0
74 lines not on this page · raw message
board/cm-bf527/gpio_cfi_flash.c new file +63 -0
63 lines not on this page · raw message
board/cm-bf527/gpio_cfi_flash.h new file +10 -0
@@ -0,0 +1,10 @@ +/* +* gpio_cfi_flash.c - GPIO-assisted Flash Chip Support +* +* Copyright (c) 2009 Analog Devices Inc. +* +* Licensed under the GPL-2 or later. +*/ + +void *gpio_cfi_flash_swizzle (void *vaddr); +void gpio_cfi_flash_init (void );
board/cm-bf527/u-boot.lds.S new file +124 -0
124 lines not on this page · raw message
include/configs/cm-bf527.h new file +137 -0
137 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 9/17 Blackfin: bf537-pnav: new board port
In reply to Mike Frysinger--- MAINTAINERS | 1 + MAKEALL | 1 + Makefile | 3 +- board/bf537-pnav/.gitignore | 1 + board/bf537-pnav/Makefile | 57 ++++++++++++++ board/bf537-pnav/bf537-pnav.c | 56 +++++++++++++ board/bf537-pnav/config.mk | 32 ++++++++ board/bf537-pnav/u-boot.lds.S | 143 ++++++++++++++++++++++++++++++++++ include/configs/bf537-pnav.h | 172 +++++++++++++++++++++++++++++++++++++++++ 9 files changed, 465 insertions(+), 1 deletions(-) create mode 100644 board/bf537-pnav/.gitignore create mode 100644 board/bf537-pnav/Makefile create mode 100644 board/bf537-pnav/bf537-pnav.c create mode 100644 board/bf537-pnav/config.mk create mode 100644 board/bf537-pnav/u-boot.lds.S create mode 100644 include/configs/bf537-pnav.h
MAINTAINERS +1 -0
@@ -866,6 +866,7 @@ Blackfin Team <[email protected]> BF527-EZKIT BF527 BF533-EZKIT BF533 BF533-STAMP BF533 + BF537-PNAV BF537 BF537-STAMP BF537 BF538F-EZKIT BF538 BF548-EZKIT BF548
MAKEALL +1 -0
@@ -800,6 +800,7 @@ LIST_blackfin=" \ bf527-ezkit \ bf533-ezkit \ bf533-stamp \ + bf537-pnav \ bf537-stamp \ bf538f-ezkit \ bf548-ezkit \
Makefile +2 -1
@@ -3379,7 +3379,7 @@ suzaku_config: unconfig # Analog Devices boards BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \ - bf537-stamp bf538f-ezkit bf548-ezkit bf561-ezkit + bf537-pnav bf537-stamp bf538f-ezkit bf548-ezkit bf561-ezkit # Bluetechnix tinyboards BFIN_BOARDS += cm-bf527 cm-bf533 cm-bf537e cm-bf548 cm-bf561 tcm-bf537
@@ -3558,6 +3558,7 @@ clean: $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \ $(obj)board/bf5{18f,26,27,33,38f,48,61}-ez{brd,kit}/u-boot.lds \ $(obj)board/bf5{33,37}-stamp/u-boot.lds \ + $(obj)board/bf537-pnav/u-boot.lds \ $(obj)board/{,t}cm-bf5{27,33,37e,48,61}/u-boot.lds \ $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] @rm -f $(obj)include/bmp_logo.h
board/bf537-pnav/.gitignore new file +1 -0
@@ -0,0 +1 @@ +/u-boot.lds
board/bf537-pnav/Makefile new file +57 -0
57 lines not on this page · raw message
board/bf537-pnav/bf537-pnav.c new file +56 -0
56 lines not on this page · raw message
board/bf537-pnav/config.mk new file +32 -0
@@ -0,0 +1,32 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +LDSCRIPT = $(obj)board/$(BOARDDIR)/u-boot.lds + +# Set some default LDR flags based on boot mode. +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
board/bf537-pnav/u-boot.lds.S new file +143 -0
143 lines not on this page · raw message
include/configs/bf537-pnav.h new file +172 -0
172 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 10/17 Blackfin: bf537-minotaur: new board port
In reply to Mike Frysinger--- MAINTAINERS | 5 + MAKEALL | 1 + Makefile | 5 +- board/bf537-minotaur/.gitignore | 1 + board/bf537-minotaur/Makefile | 57 +++++++++ board/bf537-minotaur/bf537-minotaur.c | 56 +++++++++ board/bf537-minotaur/config.mk | 33 ++++++ board/bf537-minotaur/u-boot.lds.S | 143 +++++++++++++++++++++++ include/configs/bf537-minotaur.h | 204 +++++++++++++++++++++++++++++++++ 9 files changed, 504 insertions(+), 1 deletions(-) create mode 100644 board/bf537-minotaur/.gitignore create mode 100644 board/bf537-minotaur/Makefile create mode 100644 board/bf537-minotaur/bf537-minotaur.c create mode 100644 board/bf537-minotaur/config.mk create mode 100644 board/bf537-minotaur/u-boot.lds.S create mode 100644 include/configs/bf537-minotaur.h
MAINTAINERS +5 -0
@@ -882,6 +882,11 @@ Blackfin Team <[email protected]> CM-BF561 BF561 TCM-BF537 BF537 +Martin Strubel <[email protected]> +Blackfin Team <[email protected]> + + BF537-minotaur BF537 + ######################################################################### # End of MAINTAINERS list # #########################################################################
MAKEALL +1 -0
@@ -800,6 +800,7 @@ LIST_blackfin=" \ bf527-ezkit \ bf533-ezkit \ bf533-stamp \ + bf537-minotaur \ bf537-pnav \ bf537-stamp \ bf538f-ezkit \
Makefile +4 -1
@@ -3384,6 +3384,9 @@ BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \ # Bluetechnix tinyboards BFIN_BOARDS += cm-bf527 cm-bf533 cm-bf537e cm-bf548 cm-bf561 tcm-bf537 +# Misc third party boards +BFIN_BOARDS += bf537-minotaur + $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
@@ -3558,7 +3561,7 @@ clean: $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \ $(obj)board/bf5{18f,26,27,33,38f,48,61}-ez{brd,kit}/u-boot.lds \ $(obj)board/bf5{33,37}-stamp/u-boot.lds \ - $(obj)board/bf537-pnav/u-boot.lds \ + $(obj)board/bf537-{minotaur,pnav}/u-boot.lds \ $(obj)board/{,t}cm-bf5{27,33,37e,48,61}/u-boot.lds \ $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] @rm -f $(obj)include/bmp_logo.h
board/bf537-minotaur/.gitignore new file +1 -0
@@ -0,0 +1 @@ +/u-boot.lds
board/bf537-minotaur/Makefile new file +57 -0
57 lines not on this page · raw message
board/bf537-minotaur/bf537-minotaur.c new file +56 -0
56 lines not on this page · raw message
board/bf537-minotaur/config.mk new file +33 -0
@@ -0,0 +1,33 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +LDSCRIPT = $(obj)board/$(BOARDDIR)/u-boot.lds + +# Set some default LDR flags based on boot mode. +LDR_FLAGS-BFIN_BOOT_UART := --port g --gpio 6 +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
board/bf537-minotaur/u-boot.lds.S new file +143 -0
143 lines not on this page · raw message
include/configs/bf537-minotaur.h new file +204 -0
204 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 11/17 Blackfin: bf537-srv1: new board port
In reply to Mike Frysinger--- MAINTAINERS | 1 + MAKEALL | 1 + Makefile | 4 +- board/bf537-srv1/.gitignore | 1 + board/bf537-srv1/Makefile | 57 ++++++++++++ board/bf537-srv1/bf537-srv1.c | 56 +++++++++++ board/bf537-srv1/config.mk | 33 +++++++ board/bf537-srv1/u-boot.lds.S | 143 ++++++++++++++++++++++++++++ include/configs/bf537-srv1.h | 204 +++++++++++++++++++++++++++++++++++++++++ 9 files changed, 498 insertions(+), 2 deletions(-) create mode 100644 board/bf537-srv1/.gitignore create mode 100644 board/bf537-srv1/Makefile create mode 100644 board/bf537-srv1/bf537-srv1.c create mode 100644 board/bf537-srv1/config.mk create mode 100644 board/bf537-srv1/u-boot.lds.S create mode 100644 include/configs/bf537-srv1.h
MAINTAINERS +1 -0
@@ -886,6 +886,7 @@ Martin Strubel <[email protected]> Blackfin Team <[email protected]> BF537-minotaur BF537 + BF537-srv1 BF537 ######################################################################### # End of MAINTAINERS list #
MAKEALL +1 -0
@@ -802,6 +802,7 @@ LIST_blackfin=" \ bf533-stamp \ bf537-minotaur \ bf537-pnav \ + bf537-srv1 \ bf537-stamp \ bf538f-ezkit \ bf548-ezkit \
Makefile +2 -2
@@ -3385,7 +3385,7 @@ BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \ BFIN_BOARDS += cm-bf527 cm-bf533 cm-bf537e cm-bf548 cm-bf561 tcm-bf537 # Misc third party boards -BFIN_BOARDS += bf537-minotaur +BFIN_BOARDS += bf537-minotaur bf537-srv1 $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
@@ -3561,7 +3561,7 @@ clean: $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \ $(obj)board/bf5{18f,26,27,33,38f,48,61}-ez{brd,kit}/u-boot.lds \ $(obj)board/bf5{33,37}-stamp/u-boot.lds \ - $(obj)board/bf537-{minotaur,pnav}/u-boot.lds \ + $(obj)board/bf537-{minotaur,pnav,srv1}/u-boot.lds \ $(obj)board/{,t}cm-bf5{27,33,37e,48,61}/u-boot.lds \ $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] @rm -f $(obj)include/bmp_logo.h
board/bf537-srv1/.gitignore new file +1 -0
@@ -0,0 +1 @@ +/u-boot.lds
board/bf537-srv1/Makefile new file +57 -0
57 lines not on this page · raw message
board/bf537-srv1/bf537-srv1.c new file +56 -0
56 lines not on this page · raw message
board/bf537-srv1/config.mk new file +33 -0
@@ -0,0 +1,33 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +LDSCRIPT = $(obj)board/$(BOARDDIR)/u-boot.lds + +# Set some default LDR flags based on boot mode. +LDR_FLAGS-BFIN_BOOT_UART := --port g --gpio 6 +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
board/bf537-srv1/u-boot.lds.S new file +143 -0
143 lines not on this page · raw message
include/configs/bf537-srv1.h new file +204 -0
204 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 12/17 Blackfin: blackstamp: new board port
In reply to Mike Frysinger--- MAINTAINERS | 5 + MAKEALL | 1 + Makefile | 4 +- board/blackstamp/.gitignore | 1 + board/blackstamp/Makefile | 57 +++++++++ board/blackstamp/blackstamp.c | 46 +++++++ board/blackstamp/config.mk | 32 +++++ board/blackstamp/u-boot.lds.S | 143 +++++++++++++++++++++ include/configs/blackstamp.h | 275 +++++++++++++++++++++++++++++++++++++++++ 9 files changed, 562 insertions(+), 2 deletions(-) create mode 100644 board/blackstamp/.gitignore create mode 100644 board/blackstamp/Makefile create mode 100644 board/blackstamp/blackstamp.c create mode 100644 board/blackstamp/config.mk create mode 100644 board/blackstamp/u-boot.lds.S create mode 100644 include/configs/blackstamp.h
MAINTAINERS +5 -0
@@ -888,6 +888,11 @@ Blackfin Team <[email protected]> BF537-minotaur BF537 BF537-srv1 BF537 +Wojtek Skulski <[email protected]> +Benjamin Matthews <[email protected]> + + BLACKSTAMP BF532 + ######################################################################### # End of MAINTAINERS list # #########################################################################
MAKEALL +1 -0
@@ -807,6 +807,7 @@ LIST_blackfin=" \ bf538f-ezkit \ bf548-ezkit \ bf561-ezkit \ + blackstamp \ cm-bf527 \ cm-bf533 \ cm-bf537e \
Makefile +2 -2
@@ -3385,7 +3385,7 @@ BFIN_BOARDS = bf518f-ezbrd bf526-ezbrd bf527-ezkit bf533-ezkit bf533-stamp \ BFIN_BOARDS += cm-bf527 cm-bf533 cm-bf537e cm-bf548 cm-bf561 tcm-bf537 # Misc third party boards -BFIN_BOARDS += bf537-minotaur bf537-srv1 +BFIN_BOARDS += bf537-minotaur bf537-srv1 blackstamp $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
@@ -3561,7 +3561,7 @@ clean: $(obj)board/armltd/{integratorap,integratorcp}/u-boot.lds \ $(obj)board/bf5{18f,26,27,33,38f,48,61}-ez{brd,kit}/u-boot.lds \ $(obj)board/bf5{33,37}-stamp/u-boot.lds \ - $(obj)board/bf537-{minotaur,pnav,srv1}/u-boot.lds \ + $(obj)board/{bf537-{minotaur,pnav,srv1},blackstamp}/u-boot.lds \ $(obj)board/{,t}cm-bf5{27,33,37e,48,61}/u-boot.lds \ $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] @rm -f $(obj)include/bmp_logo.h
board/blackstamp/.gitignore new file +1 -0
@@ -0,0 +1 @@ +/u-boot.lds
board/blackstamp/Makefile new file +57 -0
57 lines not on this page · raw message
board/blackstamp/blackstamp.c new file +46 -0
46 lines not on this page · raw message
board/blackstamp/config.mk new file +32 -0
@@ -0,0 +1,32 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +LDSCRIPT = $(obj)board/$(BOARDDIR)/u-boot.lds + +# Set some default LDR flags based on boot mode. +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
board/blackstamp/u-boot.lds.S new file +143 -0
143 lines not on this page · raw message
include/configs/blackstamp.h new file +275 -0
275 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 13/17 Blackfin: ibf-dsp561: new board port
In reply to Mike FrysingerFrom: Hoan Hoang <[email protected]>
--- MAINTAINERS | 5 ++ MAKEALL | 1 + Makefile | 4 + board/ibf-dsp561/.gitignore | 1 + board/ibf-dsp561/Makefile | 57 +++++++++++++++ board/ibf-dsp561/config.mk | 33 +++++++++ board/ibf-dsp561/ibf-dsp561.c | 25 +++++++ board/ibf-dsp561/u-boot.lds.S | 152 +++++++++++++++++++++++++++++++++++++++++ include/configs/ibf-dsp561.h | 130 +++++++++++++++++++++++++++++++++++ 9 files changed, 408 insertions(+), 0 deletions(-) create mode 100644 board/ibf-dsp561/.gitignore create mode 100644 board/ibf-dsp561/Makefile create mode 100644 board/ibf-dsp561/config.mk create mode 100644 board/ibf-dsp561/ibf-dsp561.c create mode 100644 board/ibf-dsp561/u-boot.lds.S create mode 100644 include/configs/ibf-dsp561.h
MAINTAINERS +5 -0
@@ -893,6 +893,11 @@ Benjamin Matthews <[email protected]> BLACKSTAMP BF532 +I-SYST Micromodule <[email protected]> +Blackfin Team <[email protected]> + + IBF-DSP561 BF561 + ######################################################################### # End of MAINTAINERS list # #########################################################################
MAKEALL +1 -0
@@ -813,6 +813,7 @@ LIST_blackfin=" \ cm-bf537e \ cm-bf548 \ cm-bf561 \ + ibf-dsp561 \ tcm-bf537 \ "
Makefile +4 -0
@@ -3387,6 +3387,9 @@ BFIN_BOARDS += cm-bf527 cm-bf533 cm-bf537e cm-bf548 cm-bf561 tcm-bf537 # Misc third party boards BFIN_BOARDS += bf537-minotaur bf537-srv1 blackstamp +# I-SYST Micromodule +BFIN_BOARDS += ibf-dsp561 + $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=)
@@ -3563,6 +3566,7 @@ clean: $(obj)board/bf5{33,37}-stamp/u-boot.lds \ $(obj)board/{bf537-{minotaur,pnav,srv1},blackstamp}/u-boot.lds \ $(obj)board/{,t}cm-bf5{27,33,37e,48,61}/u-boot.lds \ + $(obj)board/ibf-dsp561/u-boot.lds \ $(obj)cpu/blackfin/bootrom-asm-offsets.[chs] @rm -f $(obj)include/bmp_logo.h @rm -f $(obj)nand_spl/{u-boot-spl,u-boot-spl.map,System.map}
board/ibf-dsp561/.gitignore new file +1 -0
@@ -0,0 +1 @@ +/u-boot.lds
board/ibf-dsp561/Makefile new file +57 -0
57 lines not on this page · raw message
board/ibf-dsp561/config.mk new file +33 -0
@@ -0,0 +1,33 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, wd at denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +# This is not actually used for Blackfin boards so do not change it +#TEXT_BASE = do-not-use-me + +LDSCRIPT = $(obj)board/$(BOARDDIR)/u-boot.lds + +# Set some default LDR flags based on boot mode. +LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
board/ibf-dsp561/ibf-dsp561.c new file +25 -0
@@ -0,0 +1,25 @@ +/* +* U-boot - main board file +* +* Copyright (c) 2008-2009 I-SYST. +* +* Licensed under the GPL-2 or later. +*/ + +#include <common.h> + +DECLARE_GLOBAL_DATA_PTR ; + +int checkboard (void ) +{ +printf ("Board: I-SYST IBF-DSP561 Micromodule\n" ); +printf (" Support: http://www.i-syst.com/\n" ); +return 0 ; +} + +phys_size_t initdram (int board_type) +{ + gd->bd->bi_memstart =CONFIG_SYS_SDRAM_BASE ; + gd->bd->bi_memsize =CONFIG_SYS_MAX_RAM_SIZE ; +return gd->bd->bi_memsize; +}
board/ibf-dsp561/u-boot.lds.S new file +152 -0
152 lines not on this page · raw message
include/configs/ibf-dsp561.h new file +130 -0
130 lines not on this page · raw message
Signature · 1 line
1.6.3.1
PATCH 14/17 Blackfin: make default ADI env more flexible
In reply to Mike FrysingerAllow boards to easily override the root= and default bootcmd, allow people to tweak the file used in default bootcmds at runtime via one env var, and add a stock nandboot command.
--- include/configs/bfin_adi_common.h | 30 +++++++++++++++++++++++++----- 1 files changed, 25 insertions(+), 5 deletions(-)
include/configs/bfin_adi_common.h +25 -5
@@ -103,14 +103,19 @@#else # define CONFIG_BOOTDELAY 5#endif -#define CONFIG_BOOTCOMMAND "run ramboot" +#ifndef CONFIG_BOOTCOMMAND +# define CONFIG_BOOTCOMMAND "run ramboot" +#endif #ifdef CONFIG_VIDEO # define CONFIG_BOOTARGS_VIDEO "console=tty0 "#else # define CONFIG_BOOTARGS_VIDEO ""#endif +#ifndef CONFIG_BOOTARGS_ROOT +# define CONFIG_BOOTARGS_ROOT "/dev/mtdblock0 rw" +#endif #define CONFIG_BOOTARGS \ - "root=/dev/mtdblock0 rw " \ + "root=" CONFIG_BOOTARGS_ROOT " " \ "clkin_hz=" MK_STR(CONFIG_CLKIN_HZ) " " \ "earlyprintk=" \ "serial," \
@@ -118,7 +123,17 @@ MK_STR(CONFIG_BAUDRATE) " " \CONFIG_BOOTARGS_VIDEO \ "console=ttyBF0," MK_STR(CONFIG_BAUDRATE) - +#if defined(CONFIG_CMD_NAND ) +# define NAND_ENV_SETTINGS \ + "nandargs=set bootargs " CONFIG_BOOTARGS "\0" \ + "nandboot=" \ + "nand read $(loadaddr) 0x20000 0x100000;" \ + "run nandargs;" \ + "bootm" \ + "\0" +#else +# define NAND_ENV_SETTINGS +#endif #if defined(CONFIG_CMD_NET )# if (CONFIG_BFIN_BOOT_MODE ==BFIN_BOOT_BYPASS )# define UBOOT_ENV_FILE "u-boot.bin"
@@ -156,19 +171,23 @@"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):" \"$(hostname):eth0:off" \"\0" \ + \ +"ramfile=uImage\0" \"ramargs=set bootargs " CONFIG_BOOTARGS "\0" \"ramboot=" \ -"tftp $(loadaddr) uImage;" \ +"tftp $(loadaddr) $(ramfile);" \"run ramargs;" \"run addip;" \"bootm" \"\0" \ + \ +"nfsfile=vmImage\0" \"nfsargs=set bootargs " \"root=/dev/nfs rw " \"nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3" \"\0" \"nfsboot=" \ -"tftp $(loadaddr) vmImage;" \ +"tftp $(loadaddr) $(nfsfile);" \"run nfsargs;" \"run addip;" \"bootm" \
@@ -177,6 +196,7 @@# define NETWORK_ENV_SETTINGS #endif #define CONFIG_EXTRA_ENV_SETTINGS \ + NAND_ENV_SETTINGS \ NETWORK_ENV_SETTINGS \ "flashboot=bootm 0x20100000\0"
Signature · 1 line
1.6.3.1
PATCH 15/17 Blackfin: enable LZMA for all ADI boards
In reply to Mike Frysinger--- include/configs/bfin_adi_common.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
include/configs/bfin_adi_common.h +5 -0
@@ -217,4 +217,9 @@# define CONFIG_NET_RETRY_COUNT 20#endif +/* +* Misc Settings +*/ +#define CONFIG_LZMA +#endif
Signature · 1 line
1.6.3.1
PATCH 16/17 Blackfin: convert specific pre/post config headers to common method
In reply to Mike FrysingerThe Blackfin port was using asm/blackfin-config-{pre,post}.h to setup common Blackfin board defines. The common method now is to use config.h, so convert blackfin-config-post.h to that. Rename the still Blackfin specific blackfin-config-pre.h to config-pre.h so the naming conventions at least line up.
--- include/asm-blackfin/blackfin-config-post.h | 149 ------------------------- include/asm-blackfin/blackfin-config-pre.h | 74 ------------- include/asm-blackfin/config-pre.h | 74 +++++++++++++ include/asm-blackfin/config.h | 159 ++++++++++++++++++++++++--- include/configs/bf518f-ezbrd.h | 4 +- include/configs/bf526-ezbrd.h | 4 +- include/configs/bf527-ezkit.h | 4 +- include/configs/bf533-ezkit.h | 4 +- include/configs/bf533-stamp.h | 4 +- include/configs/bf537-minotaur.h | 5 +- include/configs/bf537-pnav.h | 4 +- include/configs/bf537-srv1.h | 5 +- include/configs/bf537-stamp.h | 4 +- include/configs/bf538f-ezkit.h | 4 +- include/configs/bf548-ezkit.h | 4 +- include/configs/bf561-ezkit.h | 6 +- include/configs/blackstamp.h | 4 +- include/configs/cm-bf527.h | 4 +- include/configs/cm-bf533.h | 4 +- include/configs/cm-bf537e.h | 4 +- include/configs/cm-bf548.h | 4 +- include/configs/cm-bf561.h | 4 +- include/configs/ibf-dsp561.h | 6 +- include/configs/tcm-bf537.h | 3 +- 24 files changed, 238 insertions(+), 303 deletions(-) delete mode 100644 include/asm-blackfin/blackfin-config-post.h delete mode 100644 include/asm-blackfin/blackfin-config-pre.h create mode 100644 include/asm-blackfin/config-pre.h
include/asm-blackfin/blackfin-config-post.h deleted +0 -149
@@ -1,149 +0,0 @@ -/* -* blackfin-config-post.h - setup common defines for Blackfin boards based on config.h -* -* Copyright (c) 2007-2008 Analog Devices Inc. -* -* Licensed under the GPL-2 or later. -*/ - -#ifndef __ASM_BLACKFIN_CONFIG_POST_H__ -#define __ASM_BLACKFIN_CONFIG_POST_H__ - -/* Sanity check CONFIG_BFIN_CPU */ -#ifndef CONFIG_BFIN_CPU -# error CONFIG_BFIN_CPU: your board config needs to define this -#endif - -/* Make sure the structure is properly aligned */ -#if ((CONFIG_SYS_GBL_DATA_ADDR &-4 ) !=CONFIG_SYS_GBL_DATA_ADDR ) -# error CONFIG_SYS_GBL_DATA_ADDR: must be 4 byte aligned -#endif - -/* Set default CONFIG_VCO_HZ if need be */ -#if !defined(CONFIG_VCO_HZ ) -# if (CONFIG_CLKIN_HALF ==0 ) -# define CONFIG_VCO_HZ (CONFIG_CLKIN_HZ * CONFIG_VCO_MULT) -# else -# define CONFIG_VCO_HZ ((CONFIG_CLKIN_HZ * CONFIG_VCO_MULT) / 2) -# endif -#endif - -/* Set default CONFIG_CCLK_HZ if need be */ -#if !defined(CONFIG_CCLK_HZ ) -# if (CONFIG_PLL_BYPASS ==0 ) -# define CONFIG_CCLK_HZ (CONFIG_VCO_HZ / CONFIG_CCLK_DIV) -# else -# define CONFIG_CCLK_HZ CONFIG_CLKIN_HZ -# endif -#endif - -/* Set default CONFIG_SCLK_HZ if need be */ -#if !defined(CONFIG_SCLK_HZ ) -# if (CONFIG_PLL_BYPASS ==0 ) -# define CONFIG_SCLK_HZ (CONFIG_VCO_HZ / CONFIG_SCLK_DIV) -# else -# define CONFIG_SCLK_HZ CONFIG_CLKIN_HZ -# endif -#endif - -/* Since we use these to program PLL registers directly, -* make sure the values are sane and won't screw us up. -*/ -#if (CONFIG_VCO_MULT &0x3F ) !=CONFIG_VCO_MULT -# error CONFIG_VCO_MULT: Invalid value: must fit in 6 bits (0 - 63) -#endif -#if (CONFIG_CLKIN_HALF &0x1 ) !=CONFIG_CLKIN_HALF -# error CONFIG_CLKIN_HALF: Invalid value: must be 0 or 1 -#endif -#if (CONFIG_PLL_BYPASS &0x1 ) !=CONFIG_PLL_BYPASS -# error CONFIG_PLL_BYPASS: Invalid value: must be 0 or 1 -#endif - -/* Using L1 scratch pad makes sense for everyone by default. */ -#ifndef CONFIG_LINUX_CMDLINE_ADDR -# define CONFIG_LINUX_CMDLINE_ADDR L1_SRAM_SCRATCH -#endif -#ifndef CONFIG_LINUX_CMDLINE_SIZE -# define CONFIG_LINUX_CMDLINE_SIZE L1_SRAM_SCRATCH_SIZE -#endif - -/* Set default SPI flash CS to the one we boot from */ -#if defined(CONFIG_ENV_IS_IN_SPI_FLASH ) && !defined(CONFIG_ENV_SPI_CS ) -# define CONFIG_ENV_SPI_CS BFIN_BOOT_SPI_SSEL -#endif - -/* Default/common Blackfin memory layout */ -#ifndef CONFIG_SYS_SDRAM_BASE -# define CONFIG_SYS_SDRAM_BASE 0 -#endif -#ifndef CONFIG_SYS_MAX_RAM_SIZE -# define CONFIG_SYS_MAX_RAM_SIZE (CONFIG_MEM_SIZE * 1024 * 1024) -#endif -#ifndef CONFIG_SYS_MONITOR_BASE -# define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_MAX_RAM_SIZE - CONFIG_SYS_MONITOR_LEN) -#endif -#ifndef CONFIG_SYS_MALLOC_BASE -# define CONFIG_SYS_MALLOC_BASE (CONFIG_SYS_MONITOR_BASE - CONFIG_SYS_MALLOC_LEN) -#endif -#ifndef CONFIG_SYS_GBL_DATA_SIZE -# define CONFIG_SYS_GBL_DATA_SIZE (128) -#endif -#ifndef CONFIG_SYS_GBL_DATA_ADDR -# define CONFIG_SYS_GBL_DATA_ADDR (CONFIG_SYS_MALLOC_BASE - CONFIG_SYS_GBL_DATA_SIZE) -#endif -#ifndef CONFIG_STACKBASE -# define CONFIG_STACKBASE (CONFIG_SYS_GBL_DATA_ADDR - 4) -#endif -#ifndef CONFIG_SYS_MEMTEST_START -# define CONFIG_SYS_MEMTEST_START 0 -#endif -#ifndef CONFIG_SYS_MEMTEST_END -# define CONFIG_SYS_MEMTEST_END (CONFIG_STACKBASE - 8192 + 4) -#endif - -/* Check to make sure everything fits in external RAM */ -#if ((CONFIG_SYS_MONITOR_BASE +CONFIG_SYS_MONITOR_LEN ) >CONFIG_SYS_MAX_RAM_SIZE ) -# error Memory Map does not fit into configuration -#endif - -/* Default/common Blackfin environment settings */ -#ifndef CONFIG_LOADADDR -# define CONFIG_LOADADDR 0x1000000 -#endif -#ifndef CONFIG_SYS_LOAD_ADDR -# define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR -#endif -#ifndef CONFIG_SYS_BOOTM_LEN -# define CONFIG_SYS_BOOTM_LEN 0x4000000 -#endif -#ifndef CONFIG_SYS_PROMPT -# define CONFIG_SYS_PROMPT "bfin> " -#endif -#ifndef CONFIG_SYS_CBSIZE -# ifdef CONFIG_CMD_KGDB -# define CONFIG_SYS_CBSIZE 1024 -# else -# define CONFIG_SYS_CBSIZE 256 -# endif -#endif -#ifndef CONFIG_SYS_BARGSIZE -# define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE -#endif -#ifndef CONFIG_SYS_PBSIZE -# define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) -#endif -#ifndef CONFIG_SYS_MAXARGS -# define CONFIG_SYS_MAXARGS 16 -#endif -#if defined(CONFIG_SYS_HZ ) -# if (CONFIG_SYS_HZ !=1000 ) -# warning "CONFIG_SYS_HZ must always be 1000" -# endif -# undef CONFIG_SYS_HZ -#endif -#define CONFIG_SYS_HZ 1000 -#ifndef CONFIG_SYS_BAUDRATE_TABLE -# define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } -#endif - -#endif
include/asm-blackfin/blackfin-config-pre.h deleted +0 -74
74 lines not on this page · raw message
include/asm-blackfin/config-pre.h new file +74 -0
74 lines not on this page · raw message
include/asm-blackfin/config.h +142 -17
166 lines not on this page · raw message
include/configs/bf518f-ezbrd.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_BF518F_EZBRD_H__#define __CONFIG_BF518F_EZBRD_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -143,6 +143,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/bf526-ezbrd.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_BF526_EZBRD_H__#define __CONFIG_BF526_EZBRD_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -185,6 +185,4 @@ void __led_toggle(led_id_t mask);*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/bf527-ezkit.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_BF527_EZKIT_H__#define __CONFIG_BF527_EZKIT_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -167,6 +167,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/bf533-ezkit.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_BF533_EZKIT_H__#define __CONFIG_BF533_EZKIT_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -152,6 +152,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/bf533-stamp.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_BF533_STAMP_H__#define __CONFIG_BF533_STAMP_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -241,6 +241,4 @@ void __led_toggle(led_id_t mask);*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/bf537-minotaur.h +1 -4
@@ -18,7 +18,7 @@#ifndef __CONFIG_BF537_MINOTAUR_H__#define __CONFIG_BF537_MINOTAUR_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -198,7 +198,4 @@"ramargs=setenv bootargs " CONFIG_BOOTARGS "\0" \ BOOT_ENV_SETTINGS - -#include <asm/blackfin-config-post.h> -#endif
include/configs/bf537-pnav.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_BF537_PNAV_H__#define __CONFIG_BF537_PNAV_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -167,6 +167,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/bf537-srv1.h +1 -4
@@ -18,7 +18,7 @@#ifndef __CONFIG_BF537_SRV1_H__#define __CONFIG_BF537_SRV1_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -198,7 +198,4 @@"ramargs=setenv bootargs " CONFIG_BOOTARGS "\0" \ BOOT_ENV_SETTINGS - -#include <asm/blackfin-config-post.h> -#endif
include/configs/bf537-stamp.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_BF537_STAMP_H__#define __CONFIG_BF537_STAMP_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -257,6 +257,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/bf538f-ezkit.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_BF538F_EZKIT_H__#define __CONFIG_BF538F_EZKIT_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -134,6 +134,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/bf548-ezkit.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_BF548_EZKIT_H__#define __CONFIG_BF548_EZKIT_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -206,6 +206,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/bf561-ezkit.h +2 -4
@@ -5,7 +5,7 @@#ifndef __CONFIG_BF561_EZKIT_H__#define __CONFIG_BF561_EZKIT_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -149,6 +149,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> - -#endif /* __CONFIG_EZKIT561_H__ */ +#endif
include/configs/blackstamp.h +1 -3
@@ -8,7 +8,7 @@#ifndef __CONFIG_BLACKSTAMP_H__#define __CONFIG_BLACKSTAMP_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /* * Debugging: Set these options if you're having problems
@@ -270,6 +270,4 @@#undef CONFIG_CMD_JFFS2#undef CONFIG_CMD_FLASH -#include <asm/blackfin-config-post.h> -#endif
include/configs/cm-bf527.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_CM_BF527_H__#define __CONFIG_CM_BF527_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -132,6 +132,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/cm-bf533.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_CM_BF533_H__#define __CONFIG_CM_BF533_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -99,6 +99,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/cm-bf537e.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_CM_BF537E_H__#define __CONFIG_CM_BF537E_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -119,6 +119,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/cm-bf548.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_CM_BF548_H__#define __CONFIG_CM_BF548_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -136,6 +136,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/cm-bf561.h +1 -3
@@ -5,7 +5,7 @@#ifndef __CONFIG_CM_BF561_H__#define __CONFIG_CM_BF561_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -99,6 +99,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> -#endif
include/configs/ibf-dsp561.h +2 -4
@@ -5,7 +5,7 @@#ifndef __CONFIG_IBF_DSP561__H__#define __CONFIG_IBF_DSP561__H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -125,6 +125,4 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> - -#endif /* __CONFIG_IBF_DSP561__H__ */ +#endif
include/configs/tcm-bf537.h +1 -2
@@ -5,7 +5,7 @@#ifndef __CONFIG_TCM_BF537_H__#define __CONFIG_TCM_BF537_H__ -#include <asm/blackfin-config-pre.h> +#include <asm/config-pre.h> /*
@@ -120,6 +120,5 @@*/ #include <configs/bfin_adi_common.h> -#include <asm/blackfin-config-post.h> #endif
Signature · 1 line
1.6.3.1
PATCH 17/17 Blackfin: bf518f-ezbrd: enable SST SPI flash driver
In reply to Mike FrysingerThe BF51xF parts have an internal SST SPI flash, so make sure the driver is enabled by default so we can access it.
--- include/configs/bf518f-ezbrd.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/bf518f-ezbrd.h +1 -0
@@ -90,6 +90,7 @@#define CONFIG_ENV_SPI_MAX_HZ 30000000#define CONFIG_SF_DEFAULT_HZ 30000000#define CONFIG_SPI_FLASH +#define CONFIG_SPI_FLASH_SST #define CONFIG_SPI_FLASH_STMICRO
Signature · 1 line
1.6.3.1