minix/kernel/arch/earm/do_padconf.c
Kees Jongenburger aa94c9ed55 arm:switch to dynamic configuration for the kernel.
During startup machine.board_id is now determined. The kernel can now
at runtime determine how to configure itself and does so.

Change-Id: I4f615af9bfa5add219e618b911a51af127591d6a
2013-12-17 11:32:38 +01:00

19 lines
565 B
C

#include "kernel/system.h"
#include <minix/endpoint.h>
#if USE_PADCONF
/* get arch specific arch_padconf_set() */
#include "omap_padconf.h"
/*===========================================================================*
* do_padconf *
*===========================================================================*/
int do_padconf(struct proc *caller_ptr, message *m_ptr)
{
return arch_padconf_set(m_ptr->PADCONF_PADCONF, m_ptr->PADCONF_MASK,
m_ptr->PADCONF_VALUE);
}
#endif /* USE_PADCONF */