aboutsummaryrefslogtreecommitdiffstats
path: root/configs/licheepi_nano_defconfig
Commit message (Collapse)AuthorAgeFilesLines
* mtd: Make CONFIG_MTD be the gate symbol for the menuTom Rini2024-01-221-0/+1
| | | | | | | | | | | | | The help for CONFIG_MTD explains that it needs to be enabled for various things like NAND, etc to be available. It however then doesn't enforce this dependency and so if you have none of these systems present you still need to disable a number of options. Fix this by making places that select/imply one type of flash, but did not do the same, also do this for "MTD". Make boards which hadn't been enabling MTD already but need it now, do so. In a few places, disable CONFIG_CMD_MTDPARTS as it wasn't previously enabled but was now being implied. Signed-off-by: Tom Rini <trini@konsulko.com>
* sunxi: f1c100s: re-enable SYSRESETAndre Przywara2023-01-211-1/+0
| | | | | | | | | | | | | | | | | | | The SoC .dtsi originally submitted for the Allwinner F1C100s had the wrong compatible string for the watchdog, which broke U-Boot's reset functionality. To quickly fix this, we disable CONFIG_SYSRESET in cfcf1952c11e6ffcbbf88 ("sunxi: f1c100s: Drop SYSRESET to enable reset functionality"), so that U-Boot's hardcoded reset driver could take over. After this was properly fixed in the devicetree, we reverted that patch in 92373de041ea ("Revert "sunxi: f1c100s: Drop SYSRESET to enable reset functionality"), however this line sneaked back in with d0ee7f295d74 ("Convert CONFIG_SYS_PBSIZE to Kconfig"), so during a Kconfig update. Remove this line (again), to use the proper reset driver. Fixes: d0ee7f295d74 ("Convert CONFIG_SYS_PBSIZE to Kconfig") Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Samuel Holland <samuel@sholland.org>
* sunxi: define SYS_MONITOR_LEN in Kconfig, not _defconfigAndre Przywara2022-12-131-1/+0
| | | | | | | | | | | | Commit 08574ed339fb ("Convert CONFIG_SYS_MONITOR_LEN to Kconfig") moved the definition of said config variable from the common sunxi header to *every board's* defconfig. This is a platform choice, not board specific, so remove the variable from there, instead set the one value for all Allwinner boards in Kconfig. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
* Convert CONFIG_SYS_MONITOR_LEN to KconfigTom Rini2022-11-101-0/+1
| | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SYS_MONITOR_LEN To do this, we set a default of 0 for everyone because there are a number of cases where we define CONFIG_SYS_MONITOR_LEN but the only impact is that we set TOTAL_MALLOC_LEN to be CONFIG_SYS_MALLOC_LEN + CONFIG_ENV_SIZE, so we must continue to allow all boards to set this value. Update the SPL code to use 200 KB as the default raw U-Boot size directly, if we don't have a real CONFIG_SYS_MONITOR_LEN value. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* suniv: move SKIP_LOWLEVEL_INIT_ONLY into KconfigAndre Przywara2022-10-191-2/+0
| | | | | | | | | | | | | | | So far we stated the lack of a lowlevel() init function for the Allwinner F1C100s board by defining the respective SKIP_* symbol in the board's defconfig. However we don't expect any *board* to employ such low level code, so expect this to be never used for the ARMv5 Allwinner SoCs. Select the appropriate symbols in the Kconfig, so that we can remove them from the defconfig, and avoid putting them in future defconfigs for other boards. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
* configs: sunxi: licheepi_nano: enable D-CacheIcenowy Zheng2022-10-191-1/+0
| | | | | | | | | As the compile error when D-Cache is enabled is gone, we can have D-Cache enabled now. Signed-off-by: Icenowy Zheng <uwu@icenowy.me> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
* sunxi: defconfig: drop redundant definitionsAndre Przywara2022-10-181-2/+0
| | | | | | | | | | | When some configuration symbols were converted from header files to Kconfig, their values were placed into *every* defconfig file. Since we now have sensible per-SoC defaults defined in Kconfig, those values are now redundant, and can just be removed. This affects CONFIG_SPL_STACK, CONFIG_SYS_PBSIZE, CONFIG_SPL_MAX_SIZE, and CONFIG_SYS_BOOTM_LEN. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
* configs: Resync with savedefconfigTom Rini2022-07-251-1/+1
| | | | | | Resync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* sunxi: licheepi_nano: enable SPI flashAndre Przywara2022-07-181-0/+3
| | | | | | | | | | | | | Many LicheePi Nano boards come with SPI flash soldered, which already works for booting the SPL and loading U-Boot proper. With the updated DTB, we can now also use the SPI flash from U-Boot proper, so enable the bits in the defconfig, to allow loading binaries from SPI flash. There seem to be board revisions with a Winbond SPI chip, but also others with an XTX chip, so include support for both: the actual chip used will be autodetected. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
* Convert CONFIG_SPL_STACK to KconfigTom Rini2022-06-061-0/+1
| | | | | | | This converts the following to Kconfig: CONFIG_SPL_STACK Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SYS_PBSIZE to KconfigTom Rini2022-06-061-0/+2
| | | | | | | This converts the following to Kconfig: CONFIG_SYS_PBSIZE Signed-off-by: Tom Rini <trini@konsulko.com>
* Revert "sunxi: f1c100s: Drop SYSRESET to enable reset functionality"Andre Przywara2022-05-231-1/+0
| | | | | | | | | | | | | | | The original Allwinner F1C100 .dtsi imported from the Linux kernel tree used the wrong compatible string for the watchdog timer, so the Allwinner DM reset driver was not working properly. We worked around this by disabling the SYSRESET driver, so the hardcoded SPL reset driver took over. Now the issue was fixed in the DTs in mainline Linux, and we synced the fixed .dtsi file into U-Boot, so drop the hack and use the normal U-Boot proper reset infrastructure. This reverts commit cfcf1952c11e6ffcbbf88eb63c49edca2acf1d5e. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
* sunxi: f1c100s: Drop SYSRESET to enable reset functionalityAndre Przywara2022-03-031-0/+1
| | | | | | | | | | | The F1C100s DT contains the wrong compatible string for the watchdog, which breaks reset functionality. Updating the DT goes via the Linux tree, but to allow reset functionality meanwhile (useful for development!), disable SYSRESET for now, to let the old-fashioned watchdog driver kick in and provide the reset_cpu() implementation. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
* mach-sunxi: Enable SPI boot for SUNIV and licheepi nanoJesse Taube2022-03-031-0/+1
| | | | | | | | | Enable SPI boot in SPL on SUNIV architecture and use it in the licheepi nano that uses the F1C100s. Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
* configs: Resync with savedefconfigTom Rini2022-02-091-5/+5
| | | | | | | Rsync all defconfig files using moveconfig.py and update scripts/pylint.base Signed-off-by: Tom Rini <trini@konsulko.com>
* configs: sunxi: Add support for Lichee Pi NanoIcenowy Zheng2022-02-041-0/+11
The Lichee Pi Nano is a board based on the F1C100s. Add defconfigs for it. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>