system.c (4fe996c2e7f157d521b5c8732e8b80e03bd25ff0) | system.c (68a24c9ea5ce11c87fab22a3f4648c7d88c98fee) |
---|---|
1// SPDX-License-Identifier: Apache-2.0 2// Copyright (C) 2018 IBM Corp. 3 4#include <linux/types.h> 5#include <mtd/mtd-user.h> 6#include <stdarg.h> 7#include <stdint.h> 8#include <stdio.h> 9#include <string.h> 10#include <sys/mman.h> 11 12#include "linux/aspeed-lpc-ctrl.h" 13 | 1// SPDX-License-Identifier: Apache-2.0 2// Copyright (C) 2018 IBM Corp. 3 4#include <linux/types.h> 5#include <mtd/mtd-user.h> 6#include <stdarg.h> 7#include <stdint.h> 8#include <stdio.h> 9#include <string.h> 10#include <sys/mman.h> 11 12#include "linux/aspeed-lpc-ctrl.h" 13 |
14static struct aspeed_lpc_ctrl_mapping ctrl = { 15}; | 14static struct aspeed_lpc_ctrl_mapping ctrl = { .size = 0 }; |
16 17static struct mtd_info_user mtd = { 18 .type = MTD_NORFLASH, 19 .flags = MTD_WRITEABLE, 20}; 21 22void system_set_reserved_size(uint32_t size) 23{ --- 67 unchanged lines hidden --- | 15 16static struct mtd_info_user mtd = { 17 .type = MTD_NORFLASH, 18 .flags = MTD_WRITEABLE, 19}; 20 21void system_set_reserved_size(uint32_t size) 22{ --- 67 unchanged lines hidden --- |