Changeset 25eec4e in mainline for kernel/arch/arm32/src/machine_func.c
- Timestamp:
- 2013-04-19T18:38:18Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6d717a4
- Parents:
- a1e2df13 (diff), 289cb7dd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/machine_func.c
ra1e2df13 r25eec4e 41 41 #include <arch/mach/gta02/gta02.h> 42 42 #include <arch/mach/integratorcp/integratorcp.h> 43 #include <arch/mach/testarm/testarm.h> 43 #include <arch/mach/beagleboardxm/beagleboardxm.h> 44 #include <arch/mach/beaglebone/beaglebone.h> 44 45 45 46 /** Pointer to machine_ops structure being used. */ … … 51 52 #if defined(MACHINE_gta02) 52 53 machine_ops = >a02_machine_ops; 53 #elif defined(MACHINE_testarm)54 machine_ops = &gxemul_machine_ops;55 54 #elif defined(MACHINE_integratorcp) 56 55 machine_ops = &icp_machine_ops; 56 #elif defined(MACHINE_beagleboardxm) 57 machine_ops = &bbxm_machine_ops; 58 #elif defined(MACHINE_beaglebone) 59 machine_ops = &bbone_machine_ops; 57 60 #else 58 61 #error Machine type not defined. … … 131 134 } 132 135 136 const char * machine_get_platform_name(void) 137 { 138 if (machine_ops->machine_get_platform_name) 139 return machine_ops->machine_get_platform_name(); 140 return NULL; 141 } 133 142 /** @} 134 143 */
Note:
See TracChangeset
for help on using the changeset viewer.