From: Paul Kocialkowski <contact@paulk.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/7] omap-common: Common omap_die_id definition
Date: Thu, 03 Sep 2015 15:41:03 +0200 [thread overview]
Message-ID: <1441287663.1336.15.camel@paulk.fr> (raw)
In-Reply-To: <1440697034-28698-1-git-send-email-contact@paulk.fr>
Hi,
Le jeudi 27 ao?t 2015 ? 19:37 +0200, Paul Kocialkowski a ?crit :
> This introduces a common definition for omap_die_id, that aims at
> providing a
> common interface for accessing omap platform's die id bits.
It has been a week since I sent this series for review.
Any comments?
> Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
> ---
> arch/arm/cpu/armv7/omap-common/utils.c | 5 +++++
> arch/arm/include/asm/omap_common.h | 2 ++
> 2 files changed, 7 insertions(+)
>
> diff --git a/arch/arm/cpu/armv7/omap-common/utils.c
> b/arch/arm/cpu/armv7/omap-common/utils.c
> index df5f817..acff16b 100644
> --- a/arch/arm/cpu/armv7/omap-common/utils.c
> +++ b/arch/arm/cpu/armv7/omap-common/utils.c
> @@ -41,6 +41,11 @@ void cancel_out(u32 *num, u32 *den, u32 den_limit)
> }
> }
>
> +__weak void omap_die_id(unsigned int *die_id)
> +{
> + die_id[0] = die_id[1] = die_id[2] = die_id[3] = 0;
> +}
> +
> void __weak usb_fake_mac_from_die_id(u32 *id)
> {
> uint8_t device_mac[6];
> diff --git a/arch/arm/include/asm/omap_common.h
> b/arch/arm/include/asm/omap_common.h
> index b67d4b6..b46e467 100644
> --- a/arch/arm/include/asm/omap_common.h
> +++ b/arch/arm/include/asm/omap_common.h
> @@ -605,6 +605,8 @@ void omap_smc1(u32 service, u32 val);
> void enable_edma3_clocks(void);
> void disable_edma3_clocks(void);
>
> +void omap_die_id(unsigned int *die_id);
> +
> /* ABB */
> #define OMAP_ABB_NOMINAL_OPP 0
> #define OMAP_ABB_FAST_OPP 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150903/bf91e959/attachment-0001.sig>
next prev parent reply other threads:[~2015-09-03 13:41 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 17:37 [U-Boot] [PATCH 1/7] omap-common: Common omap_die_id definition Paul Kocialkowski
2015-08-27 17:37 ` [U-Boot] [PATCH 2/7] omap3: omap_die_id support Paul Kocialkowski
2015-09-04 18:14 ` Tom Rini
2015-10-22 21:18 ` [U-Boot] [U-Boot,2/7] " Tom Rini
2015-08-27 17:37 ` [U-Boot] [PATCH 3/7] omap4: " Paul Kocialkowski
2015-09-04 18:14 ` Tom Rini
2015-10-22 21:18 ` [U-Boot] [U-Boot,3/7] " Tom Rini
2015-08-27 17:37 ` [U-Boot] [PATCH 4/7] omap5: " Paul Kocialkowski
2015-09-04 18:14 ` Tom Rini
2015-10-22 21:18 ` [U-Boot] [U-Boot,4/7] " Tom Rini
2015-08-27 17:37 ` [U-Boot] [PATCH 5/7] omap-common: Common serial and usbethaddr functions based on die id Paul Kocialkowski
2015-09-04 18:14 ` Tom Rini
2015-10-22 21:19 ` [U-Boot] [U-Boot, " Tom Rini
2015-08-27 17:37 ` [U-Boot] [PATCH 6/7] omap-common: Common function to display die id, replacing omap3-specific version Paul Kocialkowski
2015-09-04 18:14 ` Tom Rini
2015-10-22 21:19 ` [U-Boot] [U-Boot, " Tom Rini
2015-08-27 17:37 ` [U-Boot] [PATCH 7/7] omap-common: Common get_board_serial function to pass serial through ATAG Paul Kocialkowski
2015-09-04 18:14 ` Tom Rini
2015-10-22 21:19 ` [U-Boot] [U-Boot, " Tom Rini
2015-09-03 13:41 ` Paul Kocialkowski [this message]
2015-09-04 18:14 ` [U-Boot] [PATCH 1/7] omap-common: Common omap_die_id definition Tom Rini
2015-09-20 10:42 ` Paul Kocialkowski
2015-09-22 13:06 ` Tom Rini
2015-09-22 17:11 ` Paul Kocialkowski
2015-10-22 21:18 ` [U-Boot] [U-Boot, " Tom Rini
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=1441287663.1336.15.camel@paulk.fr \
--to=contact@paulk.fr \
--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