diff options
author | Tom Rini <trini@konsulko.com> | 2023-04-30 21:29:50 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-30 21:29:50 -0400 |
commit | 27dc8826441f0c5dd6aa6617a32909d9049f1202 (patch) | |
tree | 18a2dcc2249614fe95b52983a5abe5e992d74840 /board | |
parent | fe3a77cb157a6210d8036845f5f80ea67c183563 (diff) | |
parent | 25bc7bfc30532098d9207783ff2ca45cdc5a0161 (diff) | |
download | u-boot-WIP/30Apr2023.zip u-boot-WIP/30Apr2023.tar.gz u-boot-WIP/30Apr2023.tar.bz2 |
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxiWIP/30Apr2023
Please pull the second part of the sunxi pull request for this cycle.
Another bunch of patches that replace old-school U-Boot hacks with
proper DM based code, this time for the raw NAND flash driver, and the
USB PHY VBUS detection code. Plus two smaller patches that were sitting
in my inbox for a while.
Gitlab CI passed. In lack of some supported board with NAND flash I
couldn't really test this part, but apparently this was tested by the
reviewer. I briefly ran the branch on some boards with USB-OTG, and
this still worked.
Diffstat (limited to 'board')
-rw-r--r-- | board/sunxi/board.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c index 827e545..f321cd5 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -311,7 +311,7 @@ int dram_init(void) return 0; } -#if defined(CONFIG_NAND_SUNXI) +#if defined(CONFIG_NAND_SUNXI) && defined(CONFIG_SPL_BUILD) static void nand_pinmux_setup(void) { unsigned int pin; @@ -347,9 +347,6 @@ void board_nand_init(void) { nand_pinmux_setup(); nand_clock_setup(); -#ifndef CONFIG_SPL_BUILD - sunxi_nand_init(); -#endif } #endif /* CONFIG_NAND_SUNXI */ |