28 Feb, 2020
3 commits
-
The board uses 100 MHz clock for UART bitrate generator,
but is configured as 50 MHz on defconfig.This produces wrong console output.
The first message, "Debug uart enabled" is received as:
"������b"Fix the issue by configuring the correct clock for the
UART baudrate generatorSigned-off-by: Milan Obuch
Signed-off-by: Luis Araneda
Signed-off-by: Michal Simek -
The board has two push button connected to MIO pins
50 and 51, which have a pull-down resistor and are
connected to 1.8V when pressed.These two pins are wrongly initialized with internal
pull-up enabled so they are reported as 1 all the time
with no change when pressed.Disable the internal pull-up to fix the issue.
Signed-off-by: Milan Obuch
Signed-off-by: Luis Araneda
Signed-off-by: Michal Simek -
flush_dcache_range() expects unsigned long in the arguments. Here u32
variable is unable to hold the higher address value when ddr mapped
to higher addresses & flushing lower address dchache range instead
which is unmapped causing to crash.Signed-off-by: T Karthik Reddy
Signed-off-by: Michal Simek
27 Feb, 2020
3 commits
-
- Minor fix in AVS class 0 driver
- DHCP fixes in Keystone2 HS platforms. -
Pull request for UEFI sub-system for efi-2020-04-rc4
UEFI spec 2.8 errata A replaces the RuntimeServicesSupported variable
defined in UEFI spec 2.8 by the configuration table
EFI_RT_PROPERTIES_TABLE. So let's follow suit. -
UEFI spec 2.8 errata A replaces the RuntimeServicesSupported variable
defined in UEFI spec 2.8 by the configuration table
EFI_RT_PROPERTIES_TABLE. So let's follow suit.Cc: Ard Biesheuvel
Signed-off-by: Heinrich Schuchardt
Tested-by: Ard Biesheuvel
26 Feb, 2020
11 commits
-
This fixes the inadvertent definition of CONFIG_DTB_RESELECT and
CONFIG_MULTI_DTB_FIT in the K2x HS defconfigs, that happened as part of
a resync of the defconfigs.The inclusion of these config options causes ethernet to stop working on
K2x HS devices as they interfere with the installation of the secure
boot monitor.This patch also removes the above configs for the K2 GP devices, as they
are not needed, and to keep the differences between the GP and HS
defconfigs to a minimum.Signed-off-by: Madan Srinivas
Signed-off-by: Andrew F. Davis -
Its possible that k3_avs_priv is NULL because the driver may not have
been probed yet. Therefore check if pointer is valid before
dereferencing it.Signed-off-by: Vignesh Raghavendra
-
Signed-off-by: Tom Rini
-
- Update Sata node for T2080QDS and revert SATA related unrequired
patches. -
- Assorted fixes
-
When the board was originally submitted, it was attempting to use the
ESDHC driver. The board uses the USDHC driver.Signed-off-by: Carl Gelfand
Cc: Shawn Guo (maintainer:MEERKAT96 BOARD)
Acked-by: Shawn Guo -
Printing the error message in verbose mode fails, since python3
doesn't implicitely convert bytes to strings.Signed-off-by: Markus Klotzbuecher
Cc: Simon Glass
Cc: Tom Rini
Cc: Masahiro Yamada
Reviewed-by: Simon Glass -
Commit b237d358b425 ("moveconfig: expand simple expressions") added
support for expanding expressions in configs, but used the unsafe python
built-in "eval". This patch fixes this by replacing eval with the
asteval module.Signed-off-by: Markus Klotzbuecher
Cc: Heinrich Schuchardt
Cc: Heiko Schocher
Cc: Tom Rini
Cc: Simon Glass
Cc: Joe Hershberger
Cc: Masahiro Yamada
Reviewed-by: Heinrich Schuchardt -
doc/api/efi.rst belongs to the UEFI sub-system documentation.
Signed-off-by: Heinrich Schuchardt
-
Macro SZ_64K is undeclared. Include sizes.h to fix the compilation
error.Signed-off-by: Wasim Khan
Reviewed-by: Tom Rini -
The include uboot_aes.h is not useful and
it breaks the compilation on android, so
we remove it.Signed-off-by: Philippe Reynes
Reported-by: Praneeth Bajjuri
25 Feb, 2020
12 commits
-
- Update our CI loops to run 'make htmldocs' and stop on errors
-
Several patches delivered incorrect restructured text as documentation. We
should be able to discover this in Travis CI, Gitlab CI, or Azure CI.So let us turn all build warnings into errors.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Bin Meng -
Several patches delivered incorrect restructured text as documentation. We
should be able to discover this in Azure CI.Provide a build step for 'make htmldocs'.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Bin Meng -
Several patches delivered incorrect restructured text as documentation. We
should be able to discover this in Gitlab CI.Provide a build step for 'make htmldocs'.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Bin Meng -
Several patches delivered incorrect restructured text as documentation.
We should be able to discover this in Travis CI.Provide a build step for 'make htmldocs'.
Add required package graphviz.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Bin Meng -
In order to build htmldocs we need sphinx-build which comes from
python3-sphinx.Signed-off-by: Tom Rini
-
The sata of our powerpc platforms are updated. These changes is to
fit the driver probe.Signed-off-by: Peng Ma
Reviewed-by: Stefan Roese
Reviewed-by: Priyanka Jain -
This reverts commit 02dc1599ba0b16eb21ba0c206e5b6f38fe7b67a7
Commit 02dc1599ba0b ("configs: enable sata, eSDHC, USB device module in
T2080QDS")has some sata defconfig changes to fit support DM mode, Now the driver
will be reverted, So revert it.Signed-off-by: Peng Ma
Reviewed-by: Stefan Roese
Reviewed-by: Priyanka Jain -
This reverts commit 856b9cdb53f0e6c8d98f81cf71ef363c16b0aa0e.
Commit 856b9cdb53f0 ("powerpc: mpc85xx: delete FSL_SATA for T2080QDS
board.") is to fit support sata DM mode, Now the driver will be reverted,
So revert it.Signed-off-by: Peng Ma
Reviewed-by: Stefan Roese
Reviewed-by: Priyanka Jain -
This reverts commit 1ee494291880fd51ef0c5f7342e072bdb069d7ff.
Commit 1ee494291880 ("ata: fsl_ahci: Add sata DM support for Freescale
powerpc socs") introduced SCSI layer to call AHCI private API in order
to support sata operations, In DM mode, This is not necessary for
non-AHCI sata. So revert it and have already updated the driver itself
to operate sata directly.Signed-off-by: Peng Ma
Reviewed-by: Stefan Roese
Reviewed-by: Priyanka Jain -
Update doc/sphinx/kerneldoc.py from Linux next-20200219 to avoid warnings
like:doc/sphinx/kerneldoc.py:125: RemovedInSphinx20Warning:
AutodocReporter is now deprecated. Use
sphinx.util.docutils.switch_source_input() instead.
self.state.memo.reporter =
AutodocReporter(result, self.state.memo.reporter)Signed-off-by: Heinrich Schuchardt
-
Bring in a newer Docker image to build on that has everything required
for running 'make htmldocs'.Signed-off-by: Tom Rini
21 Feb, 2020
1 commit
-
- rk3399: split roc-pc-rk3399 out of evb_rk3399
- sync dts from upstream kernel for rk3399,rk3288,px30
- boot_mode: find the saradc device name
20 Feb, 2020
10 commits
-
- sdhci: code clean-up and fix cache coherency problem
- enable cache snooping on mpc830x
- Fix build error when MMC_WRITE disabled -
This driver currently performs cache operation before the DMA start,
but does nothing after the DMA completion.When reading data by DMA, the cache invalidation is needed also after
finishing the DMA transfer. Otherwise, the CPU might read data from
the cache instead of from the main memory when speculative memory read
or memory prefetch occurs.Instead of calling the cache operation directly, this commit adds
dma_unmap_single(), which performs cache invalidation internally,
but drivers do not need which operation is being run.Signed-off-by: Masahiro Yamada
-
Currently, sdhci_prepare_dma() calls flush_cache() regardless of the
DMA direction.Actually, cache invalidation is enough when reading data from the device.
This is correctly handled by dma_map_single(), which mimics the DMA-API
in Linux kernel. Drivers can be agnostic which cache operation occurs
behind the scene.This commit also sanitizes the difference between the virtual address
and the dma address.Signed-off-by: Masahiro Yamada
-
Copied from Linux kernel.
include/linux/mmc/host.hSigned-off-by: Masahiro Yamada
Reviewed-by: Jaehoon Chung -
host->mmc is already (struct mmc *).
memalign() returns an opaque pointer, so there is no need for casting.
Signed-off-by: Masahiro Yamada
Reviewed-by: Jaehoon Chung -
Use {lower,upper}_32_bits() instead of the combination of cast
and shift.Signed-off-by: Masahiro Yamada
Reviewed-by: Jaehoon Chung -
The same code is run for both SDHCI_QUIRK_32BIT_DMA_ADDR and
define(CONFIG_FIXED_SDHCI_ALIGNED_BUFFER).Unify the code.
Signed-off-by: Masahiro Yamada
Reviewed-by: Jaehoon Chung -
Using the global variable does not look nice.
Add a new field sthci::align_buffer to point to the bounce buffer.
Signed-off-by: Masahiro Yamada
Reviewed-by: Jaehoon Chung -
To avoid "asm/dma-mapping.h: No such file or directory" error,
we need something.Signed-off-by: Masahiro Yamada
-
Put the target entries for rk3399 devices in alphabetical order.
Signed-off-by: Peter Robinson
Reviewed-by: Simon Glass
Reviewed-by: Kever Yang