board: laird: add WB45N CPU module

This board is based on the Atmel 9x5 eval board.
Supporting the following features:
 - Boot from NAND Flash
 - Ethernet
 - FIT
 - SPL

Signed-off-by: Ben Whitten <ben.whitten@lairdtech.com>
Signed-off-by: Dan Kephart <dan.kephart@lairdtech.com>
This commit is contained in:
Ben Whitten
2017-11-23 13:47:47 +00:00
committed by Tom Rini
parent fd374665c9
commit 5aaef60077
8 changed files with 419 additions and 0 deletions

View File

@@ -236,6 +236,11 @@ config TARGET_VINCO
select SAMA5D4
select SUPPORT_SPL
config TARGET_WB45N
bool "Support Laird WB45N"
select CPU_ARM926EJS
select SUPPORT_SPL
endchoice
config SYS_SOC
@@ -270,6 +275,7 @@ source "board/ronetix/pm9g45/Kconfig"
source "board/siemens/corvus/Kconfig"
source "board/siemens/taurus/Kconfig"
source "board/siemens/smartweb/Kconfig"
source "board/laird/wb45n/Kconfig"
config SPL_LDSCRIPT
default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS

View File

@@ -219,6 +219,8 @@ static inline unsigned pin_to_mask(unsigned pin)
at91_set_a_periph((x - PIN_BASE) / 32,(x % 32), y)
#define at91_set_B_periph(x, y) \
at91_set_b_periph((x - PIN_BASE) / 32,(x % 32), y)
#define at91_set_gpio_deglitch(x, y) \
at91_set_pio_deglitch((x - PIN_BASE) / 32,(x % 32), y)
#define at91_set_gpio_output(x, y) \
at91_set_pio_output((x - PIN_BASE) / 32,(x % 32), y)
#define at91_set_gpio_input(x, y) \