* [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite
@ 2022-07-08 9:25 Paul Barker
2022-07-08 9:25 ` [PATCH 2/2] board: ti: am335x: Use correct dtbs for SanCloud boards Paul Barker
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Paul Barker @ 2022-07-08 9:25 UTC (permalink / raw)
To: u-boot, Tom Rini; +Cc: Paul Barker
The SanCloud BBE Lite has a Micron Authenta flash device connected to
the spi0 bus.
Signed-off-by: Paul Barker <paul.barker@sancloud.com>
---
board/ti/am335x/mux.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c
index fed737fa099a..7d31adec1421 100644
--- a/board/ti/am335x/mux.c
+++ b/board/ti/am335x/mux.c
@@ -401,8 +401,13 @@ void enable_board_pin_mux(void)
configure_module_pin_mux(mmc0_pin_mux_sk_evm);
} else if (board_is_bone_lt()) {
if (board_is_bben()) {
+ char subtype_id = board_ti_get_config()[1];
+
/* SanCloud Beaglebone LT Enhanced pinmux */
configure_module_pin_mux(rgmii1_pin_mux);
+
+ if (subtype_id == 'L')
+ configure_module_pin_mux(spi0_pin_mux);
} else {
/* Beaglebone LT pinmux */
configure_module_pin_mux(mii1_pin_mux);
base-commit: 0cc846dafcf6f6270c6587d6fe79011834d6e49a
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] board: ti: am335x: Use correct dtbs for SanCloud boards
2022-07-08 9:25 [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite Paul Barker
@ 2022-07-08 9:25 ` Paul Barker
2022-07-08 20:22 ` Tom Rini
2022-07-25 21:20 ` Tom Rini
2022-07-08 20:22 ` [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite Tom Rini
` (2 subsequent siblings)
3 siblings, 2 replies; 7+ messages in thread
From: Paul Barker @ 2022-07-08 9:25 UTC (permalink / raw)
To: u-boot, Tom Rini; +Cc: Paul Barker
We have different dtbs for the Lite and Extended WiFi variants of the
SanCloud BBE.
Signed-off-by: Paul Barker <paul.barker@sancloud.com>
---
board/ti/am335x/board.c | 18 ++++++++++++++----
configs/am335x_evm_defconfig | 2 +-
2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index 2cb5b1cb3fc7..b97fedddd5e2 100644
--- a/board/ti/am335x/board.c
+++ b/board/ti/am335x/board.c
@@ -966,10 +966,20 @@ int board_fit_config_name_match(const char *name)
return 0;
else if (board_is_icev2() && !strcmp(name, "am335x-icev2"))
return 0;
- else if (board_is_bben() && !strcmp(name, "am335x-sancloud-bbe"))
- return 0;
- else
- return -1;
+ else if (board_is_bben()) {
+ char subtype_id = board_ti_get_config()[1];
+
+ if (subtype_id == 'L') {
+ if (!strcmp(name, "am335x-sancloud-bbe-lite"))
+ return 0;
+ } else if (subtype_id == 'I') {
+ if (!strcmp(name, "am335x-sancloud-bbe-extended-wifi"))
+ return 0;
+ } else if (!strcmp(name, "am335x-sancloud-bbe")) {
+ return 0;
+ }
+ }
+ return -1;
}
#endif
diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
index 30577a6fce42..3f677a2326c2 100644
--- a/configs/am335x_evm_defconfig
+++ b/configs/am335x_evm_defconfig
@@ -45,7 +45,7 @@ CONFIG_MTDIDS_DEFAULT="nand0=nand.0"
CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)"
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_OF_CONTROL=y
-CONFIG_OF_LIST="am335x-evm am335x-bone am335x-sancloud-bbe am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2 am335x-pocketbeagle"
+CONFIG_OF_LIST="am335x-evm am335x-bone am335x-sancloud-bbe am335x-sancloud-bbe-lite am335x-sancloud-bbe-extended-wifi am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2 am335x-pocketbeagle"
CONFIG_ENV_OVERWRITE=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite
2022-07-08 9:25 [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite Paul Barker
2022-07-08 9:25 ` [PATCH 2/2] board: ti: am335x: Use correct dtbs for SanCloud boards Paul Barker
@ 2022-07-08 20:22 ` Tom Rini
2022-07-25 21:20 ` Tom Rini
2022-07-25 21:20 ` Tom Rini
3 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2022-07-08 20:22 UTC (permalink / raw)
To: Paul Barker; +Cc: u-boot
[-- Attachment #1: Type: text/plain, Size: 273 bytes --]
On Fri, Jul 08, 2022 at 10:25:45AM +0100, Paul Barker wrote:
> The SanCloud BBE Lite has a Micron Authenta flash device connected to
> the spi0 bus.
>
> Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] board: ti: am335x: Use correct dtbs for SanCloud boards
2022-07-08 9:25 ` [PATCH 2/2] board: ti: am335x: Use correct dtbs for SanCloud boards Paul Barker
@ 2022-07-08 20:22 ` Tom Rini
2022-07-25 21:20 ` Tom Rini
1 sibling, 0 replies; 7+ messages in thread
From: Tom Rini @ 2022-07-08 20:22 UTC (permalink / raw)
To: Paul Barker; +Cc: u-boot
[-- Attachment #1: Type: text/plain, Size: 273 bytes --]
On Fri, Jul 08, 2022 at 10:25:46AM +0100, Paul Barker wrote:
> We have different dtbs for the Lite and Extended WiFi variants of the
> SanCloud BBE.
>
> Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite
2022-07-08 9:25 [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite Paul Barker
2022-07-08 9:25 ` [PATCH 2/2] board: ti: am335x: Use correct dtbs for SanCloud boards Paul Barker
2022-07-08 20:22 ` [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite Tom Rini
@ 2022-07-25 21:20 ` Tom Rini
2022-07-25 21:20 ` Tom Rini
3 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2022-07-25 21:20 UTC (permalink / raw)
To: Paul Barker; +Cc: u-boot
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
On Fri, Jul 08, 2022 at 10:25:45AM +0100, Paul Barker wrote:
> The SanCloud BBE Lite has a Micron Authenta flash device connected to
> the spi0 bus.
>
> Signed-off-by: Paul Barker <paul.barker@sancloud.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite
2022-07-08 9:25 [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite Paul Barker
` (2 preceding siblings ...)
2022-07-25 21:20 ` Tom Rini
@ 2022-07-25 21:20 ` Tom Rini
3 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2022-07-25 21:20 UTC (permalink / raw)
To: Paul Barker; +Cc: u-boot
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
On Fri, Jul 08, 2022 at 10:25:45AM +0100, Paul Barker wrote:
> The SanCloud BBE Lite has a Micron Authenta flash device connected to
> the spi0 bus.
>
> Signed-off-by: Paul Barker <paul.barker@sancloud.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] board: ti: am335x: Use correct dtbs for SanCloud boards
2022-07-08 9:25 ` [PATCH 2/2] board: ti: am335x: Use correct dtbs for SanCloud boards Paul Barker
2022-07-08 20:22 ` Tom Rini
@ 2022-07-25 21:20 ` Tom Rini
1 sibling, 0 replies; 7+ messages in thread
From: Tom Rini @ 2022-07-25 21:20 UTC (permalink / raw)
To: Paul Barker; +Cc: u-boot
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
On Fri, Jul 08, 2022 at 10:25:46AM +0100, Paul Barker wrote:
> We have different dtbs for the Lite and Extended WiFi variants of the
> SanCloud BBE.
>
> Signed-off-by: Paul Barker <paul.barker@sancloud.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-07-25 21:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-08 9:25 [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite Paul Barker
2022-07-08 9:25 ` [PATCH 2/2] board: ti: am335x: Use correct dtbs for SanCloud boards Paul Barker
2022-07-08 20:22 ` Tom Rini
2022-07-25 21:20 ` Tom Rini
2022-07-08 20:22 ` [PATCH 1/2] board: ti: am335x: Enable spi0 bus on SanCloud BBE Lite Tom Rini
2022-07-25 21:20 ` Tom Rini
2022-07-25 21:20 ` Tom Rini
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.