ppc: disable some redundant functions when Diet option is enable