| f315828b | 10-Dec-2014 |
Thierry Reding <treding@nvidia.com> |
pci: tegra: Add Tegra PCIe driver
Add support for the PCIe controller found on some generations of Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has 3 root ports with a total of 6
pci: tegra: Add Tegra PCIe driver
Add support for the PCIe controller found on some generations of Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has 3 root ports with a total of 6 lanes and Tegra124 has 2 root ports with a total of 5 lanes.
This is based on the Linux kernel driver, originally submitted upstream by Mike Rapoport.
Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
show more ...
|
| 59345b1f | 08-Oct-2014 |
Przemyslaw Marczak <p.marczak@samsung.com> |
lib: errno: introduce errno_str(): returns errno related message
The functions error's numbers are standarized - but the error messages are not.
The errors are often handled with unclear error mess
lib: errno: introduce errno_str(): returns errno related message
The functions error's numbers are standarized - but the error messages are not.
The errors are often handled with unclear error messages, so why not use an errno standarized messages.
Advantages: - This could decrease the binary size. - Appended with a detailed information, the error message will be clear.
This commit introduces new function: - const char *errno_to_str(int errno)
The functions returns a pointer to the errno corresponding text message: - if errno is null or positive number - a pointer to "Success" message - if errno is negative - a pointer to errno related message
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Reviewed-by: Tom Rini <trini@ti.com>
show more ...
|