From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugen.Hristev at microchip.com Date: Mon, 30 Sep 2019 07:29:01 +0000 Subject: [U-Boot] [PATCH 3/4] board: atmel: sam9x60ek: add support for PDA detection In-Reply-To: <1569827614-2151-1-git-send-email-eugen.hristev@microchip.com> References: <1569827614-2151-1-git-send-email-eugen.hristev@microchip.com> Message-ID: <1569827614-2151-3-git-send-email-eugen.hristev@microchip.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Eugen Hristev Automatically detect PDA at boot. Signed-off-by: Eugen Hristev --- 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 #include +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