From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH/review] Blackfin: add support for BF538/BF539
Date: Sun, 01 Jun 2008 22:14:01 +0200 [thread overview]
Message-ID: <20080601201401.E9BAC247CC@gemini.denx.de> (raw)
In-Reply-To: Your message of "Sun, 01 Jun 2008 01:38:44 EDT." <1212298724-15152-11-git-send-email-vapier@gentoo.org>
In message <1212298724-15152-11-git-send-email-vapier@gentoo.org> you wrote:
> Add initial support for the BF538 and BF539 Blackfin processors.
>
...
> diff --git a/include/asm-blackfin/mach-bf538/ADSP-EDN-BF538-extended_cdef.h b/include/asm-blackfin/mach-bf538/ADSP-EDN-BF538-extended_cdef.h
> new file mode 100644
> index 0000000..cba69f4
> --- /dev/null
> +++ b/include/asm-blackfin/mach-bf538/ADSP-EDN-BF538-extended_cdef.h
> @@ -0,0 +1,3343 @@
> +/* DO NOT EDIT THIS FILE
> + * Automatically generated by generate-cdef-headers.xsl
> + * DO NOT EDIT THIS FILE
> + */
Do we really (I mean: really, really!) need all the 3343 lines of this
crap^H^H^H^Hstuff?
What is the licensing of this file, and who is the Copyright holder?
> diff --git a/include/asm-blackfin/mach-bf538/ADSP-EDN-BF538-extended_def.h b/include/asm-blackfin/mach-bf538/ADSP-EDN-BF538-extended_def.h
> new file mode 100644
> index 0000000..4e36fb9
> --- /dev/null
> +++ b/include/asm-blackfin/mach-bf538/ADSP-EDN-BF538-extended_def.h
> @@ -0,0 +1,1121 @@
> +/* DO NOT EDIT THIS FILE
> + * Automatically generated by generate-def-headers.xsl
> + * DO NOT EDIT THIS FILE
> + */
Do we really (I mean: really, really!) need all the 1121 lines of this
crap^H^H^H^Hstuff?
What is the licensing of this file, and who is the Copyright holder?
Please use tabs for indentation and alignment!!
> diff --git a/include/asm-blackfin/mach-bf538/BF538_cdef.h b/include/asm-blackfin/mach-bf538/BF538_cdef.h
> new file mode 100644
> index 0000000..c866740
> --- /dev/null
> +++ b/include/asm-blackfin/mach-bf538/BF538_cdef.h
> @@ -0,0 +1,14 @@
> +/* DO NOT EDIT THIS FILE
> + * Automatically generated by generate-cdef-headers.xsl
> + * DO NOT EDIT THIS FILE
> + */
What is the licensing of this file, and who is the Copyright holder?
> diff --git a/include/asm-blackfin/mach-bf538/BF538_def.h b/include/asm-blackfin/mach-bf538/BF538_def.h
> new file mode 100644
> index 0000000..edeba2e
> --- /dev/null
> +++ b/include/asm-blackfin/mach-bf538/BF538_def.h
> @@ -0,0 +1,29 @@
> +/* DO NOT EDIT THIS FILE
> + * Automatically generated by generate-def-headers.xsl
> + * DO NOT EDIT THIS FILE
> + */
What is the licensing of this file, and who is the Copyright holder?
...and so on for the other, similar files.
Hm.... looking at such a file is horrible:
> +#define bfin_read_MXVR_PLL_CTL_0() bfin_read32(MXVR_PLL_CTL_0)
> +#define bfin_write_MXVR_PLL_CTL_0(val) bfin_write32(MXVR_PLL_CTL_0, val)
> +#define pMXVR_STATE_0 ((uint32_t volatile *)MXVR_STATE_0) /* MXVR State Register 0 */
> +#define bfin_read_MXVR_STATE_0() bfin_read32(MXVR_STATE_0)
> +#define bfin_write_MXVR_STATE_0(val) bfin_write32(MXVR_STATE_0, val)
> +#define pMXVR_STATE_1 ((uint32_t volatile *)MXVR_STATE_1) /* MXVR State Register 1 */
> +#define bfin_read_MXVR_STATE_1() bfin_read32(MXVR_STATE_1)
> +#define bfin_write_MXVR_STATE_1(val) bfin_write32(MXVR_STATE_1, val)
> +#define pMXVR_INT_STAT_0 ((uint32_t volatile *)MXVR_INT_STAT_0) /* MXVR Interrupt Status Register 0 */
> +#define bfin_read_MXVR_INT_STAT_0() bfin_read32(MXVR_INT_STAT_0)
I do not think that we should allow such code in U-Boot.
I do not want to see this.
Best regards,
Wolfgang Denk
--
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
8 Catfish = 1 Octo-puss
next prev parent reply other threads:[~2008-06-01 20:14 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-01 5:38 [U-Boot-Users] [PATCH/review] Blackfin: dont call i2c_init() from board_init_r() Mike Frysinger
2008-06-01 5:38 ` [U-Boot-Users] [PATCH/review] Blackfin: protect default flash according to CFG_MONITOR_LEN Mike Frysinger
2008-06-01 5:38 ` [U-Boot-Users] [PATCH/review] Blackfin: update proc headers from toolchain Mike Frysinger
2008-06-01 5:38 ` [U-Boot-Users] [PATCH/review] Blackfin: unify cache handling code Mike Frysinger
2008-06-01 5:38 ` [U-Boot-Users] [PATCH/review] Blackfin: use common memcpy routine during init Mike Frysinger
2008-06-01 5:38 ` [U-Boot-Users] [PATCH/review] Blackfin: enable support for nested interrupts Mike Frysinger
2008-06-01 5:38 ` [U-Boot-Users] [PATCH/review] Blackfin: respect CONFIG_CLKIN_HALF Mike Frysinger
2008-06-01 5:38 ` [U-Boot-Users] [PATCH/review] Blackfin: setup a sane default EBIU_SDBCTL for SDRAM controllers Mike Frysinger
2008-06-01 5:38 ` [U-Boot-Users] [PATCH/review] Blackfin: use on-chip syscontrol() rom function when available Mike Frysinger
2008-06-01 5:38 ` [U-Boot-Users] [PATCH/review] Blackfin: use on-chip syscontrol() to reset Mike Frysinger
2008-06-01 5:38 ` [U-Boot-Users] [PATCH/review] Blackfin: add support for BF538/BF539 Mike Frysinger
2008-06-01 20:14 ` Wolfgang Denk [this message]
2008-06-01 21:18 ` Mike Frysinger
2008-06-01 22:05 ` Wolfgang Denk
2008-06-01 23:03 ` Mike Frysinger
2008-06-04 8:56 ` Detlev Zundel
2008-06-04 10:18 ` Mike Frysinger
2008-06-04 17:36 ` Detlev Zundel
2008-06-04 20:16 ` Mike Frysinger
2008-06-05 13:13 ` Detlev Zundel
2008-06-05 13:24 ` Wolfgang Denk
2008-06-01 19:56 ` [U-Boot-Users] [PATCH/review] Blackfin: use on-chip syscontrol() to reset Wolfgang Denk
2008-06-01 21:20 ` Mike Frysinger
2008-06-01 22:07 ` Wolfgang Denk
2008-06-04 9:05 ` Detlev Zundel
2008-06-04 10:10 ` Mike Frysinger
2008-06-01 19:54 ` [U-Boot-Users] [PATCH/review] Blackfin: setup a sane default EBIU_SDBCTL for SDRAM controllers Wolfgang Denk
2008-06-01 21:12 ` Mike Frysinger
2008-06-01 21:59 ` Wolfgang Denk
2008-06-01 22:49 ` Mike Frysinger
2008-06-01 19:47 ` [U-Boot-Users] [PATCH/review] Blackfin: protect default flash according to CFG_MONITOR_LEN Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080601201401.E9BAC247CC@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox