From: Eugen.Hristev at microchip.com <Eugen.Hristev@microchip.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/4] board: atmel: sam9x60ek: add support for PDA detection
Date: Mon, 30 Sep 2019 07:29:01 +0000 [thread overview]
Message-ID: <1569827614-2151-3-git-send-email-eugen.hristev@microchip.com> (raw)
In-Reply-To: <1569827614-2151-1-git-send-email-eugen.hristev@microchip.com>
From: Eugen Hristev <eugen.hristev@microchip.com>
Automatically detect PDA at boot.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
board/atmel/sam9x60ek/sam9x60ek.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/board/atmel/sam9x60ek/sam9x60ek.c b/board/atmel/sam9x60ek/sam9x60ek.c
index e352afc..182b3ae 100644
--- a/board/atmel/sam9x60ek/sam9x60ek.c
+++ b/board/atmel/sam9x60ek/sam9x60ek.c
@@ -16,6 +16,8 @@
#include <debug_uart.h>
#include <asm/mach-types.h>
+extern void at91_pda_detect(void);
+
DECLARE_GLOBAL_DATA_PTR;
void at91_prepare_cpu_var(void);
@@ -80,6 +82,9 @@ static void sam9x60ek_nand_hw_init(void)
int board_late_init(void)
{
at91_prepare_cpu_var();
+
+ at91_pda_detect();
+
return 0;
}
#endif
--
2.7.4
next prev parent reply other threads:[~2019-09-30 7:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-30 7:28 [U-Boot] [PATCH 1/4] ARM: dts: at91: sam9x60: add onewire node Eugen.Hristev at microchip.com
2019-09-30 7:28 ` [U-Boot] [PATCH 2/4] ARM: dts: at91: sam9x60ek: add onewire support Eugen.Hristev at microchip.com
2019-09-30 7:29 ` Eugen.Hristev at microchip.com [this message]
2019-09-30 7:29 ` [U-Boot] [PATCH 4/4] configs: sam9x60ek: enable " Eugen.Hristev at microchip.com
2019-10-07 6:45 ` [U-Boot] [PATCH 1/4] ARM: dts: at91: sam9x60: add onewire node Eugen.Hristev at microchip.com
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=1569827614-2151-3-git-send-email-eugen.hristev@microchip.com \
--to=eugen.hristev@microchip.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.