zynq7: split the machine.c/.h
authorWendy Liang <jliang@xilinx.com>
Mon, 1 Feb 2016 19:17:10 +0000 (11:17 -0800)
committerWendy Liang <jliang@xilinx.com>
Tue, 9 Feb 2016 19:55:45 +0000 (11:55 -0800)
commited14d327f0e3312ad570aa1cb6c4a796287f7568
treeee8cf3d245fa2a54e361182c8fd191aa8e509f75
parent3764c9721cbca2120cd12b5d3532d6983efc7f8d
zynq7: split the machine.c/.h

The old machine.c/.h has included the basic baremetal functions which doesn't belong to OpenAMP lib itself.
it is split into:
* obsolete: which provides the generic Zynq baremetal functions, which will be replaced with Xilinx standalone lib in future
* lib/system/generic/machine/zynq7/machine_system.c, OpenAMP implementation for Zynq7 generic
* apps/system/generic/machine/zynq7/helper.c, helper function for demo apps.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
18 files changed:
apps/machine/zynq7/Makefile.include [new file with mode: 0644]
apps/machine/zynq7/platform_info.c [moved from apps/system/generic/machine/zynq7/platform_info.c with 100% similarity]
apps/machine/zynq7/platform_info_remoteproc_master.c [moved from apps/system/generic/machine/zynq7/platform_info_remoteproc_master.c with 100% similarity]
apps/machine/zynq7/rsc_table.c [moved from apps/system/generic/machine/zynq7/rsc_table.c with 100% similarity]
apps/machine/zynq7/rsc_table.h [moved from apps/system/generic/machine/zynq7/rsc_table.h with 100% similarity]
apps/system/generic/machine/zynq7/Makefile.include
apps/system/generic/machine/zynq7/helper.c [new file with mode: 0755]
lib/include/openamp/machine/machine_common.h [new file with mode: 0755]
lib/include/openamp/machine/zynq7/machine.h [new file with mode: 0755]
lib/include/openamp/system/generic/machine/zynq7/machine_system.h [new file with mode: 0755]
lib/system/generic/bm_env.c
lib/system/generic/machine/zynq7/Makefile.platform
lib/system/generic/machine/zynq7/machine.c [deleted file]
lib/system/generic/machine/zynq7/machine_system.c [new file with mode: 0755]
obsolete/system/generic/machine/zynq7/Makefile
obsolete/system/generic/machine/zynq7/baremetal/Makefile [new file with mode: 0755]
obsolete/system/generic/machine/zynq7/baremetal/baremetal.c [new file with mode: 0755]
obsolete/system/generic/machine/zynq7/baremetal/baremetal.h [moved from lib/include/openamp/system/generic/machine/zynq7/machine.h with 94% similarity]