linux_dsm_epyc7002/arch/powerpc/platforms/chrp
Finn Thain ebcebc7f45 powerpc: Define missing ppc_md.nvram_size for CHRP and PowerMac
Add the nvram_size() function to those PowerPC platforms that don't already
have one: CHRP and PowerMac. This means that the ppc_md.nvram_size()
function can be called by nvram_get_size().

Since we are addressing CHRP inconsistencies here, rename chrp_nvram_read
and chrp_nvram_write, which break the naming convention used across
powerpc platforms for NVRAM accessor functions.

Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-22 10:21:45 +01:00
..
chrp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gg2.h [POWERPC] Copy over headers from arch/ppc to arch/powerpc that we need 2007-08-22 22:43:29 -05:00
Kconfig Kconfig file consolidation for v4.21 2018-12-29 13:40:29 -08:00
Makefile [POWERPC] disallow building powermac and tsi108 without PCI 2007-06-29 01:57:00 -05:00
nvram.c powerpc: Define missing ppc_md.nvram_size for CHRP and PowerMac 2019-01-22 10:21:45 +01:00
pci.c powerpc: Use device_type helpers to access the node type 2018-11-26 22:33:37 +11:00
pegasos_eth.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
setup.c powerpc: Use of_node_name_eq for node name comparisons 2018-12-22 21:29:50 +11:00
smp.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
time.c powerpc/chrp/time: Make some functions static, add missing header include 2018-05-25 12:04:45 +10:00